mwootendev / ngx-translate-plugins

Utilities plugins for the @ngx-translate translation library.
MIT License
15 stars 10 forks source link

Support custom translate parser #77

Closed carlosgomes-co closed 1 year ago

carlosgomes-co commented 1 year ago

Is your feature request related to a problem? Please describe. I developed a new parser for the TranslateService, but I can't integrate it with unit testing using TranslateTestingModule. A lot of my tests use it for easy language support. It'll be very helpful if this library supports this feature.

Describe the solution you'd like An update for TranslateTestingModule that allows passing custom parsers to TranslateService. Suggested Name: withParser().

carlosgomes-co commented 1 year ago

Hi @mwootendev, now we have the code withParser() merged to the develop branch. Can we publish a new version with this code?

carlosgomes-co commented 1 year ago

Thank you very much for the v7.0.0 release version @mwootendev! This issue gets solved with this code 🎉