lephyrus / ngx-translate-messageformat-compiler

Advanced pluralization (and more) for ngx-translate, using standard ICU syntax which is compiled with the help of messageformat.js.
MIT License
93 stars 29 forks source link

addFormating #31

Closed YunnXairou closed 6 years ago

YunnXairou commented 6 years ago

Can someone please let us use to function addFormatters with this compiler? Because messageFormat is private, so I don't see how I can add my custom formatters for my entire app and not just one module.

lephyrus commented 6 years ago

I should be able to expose this the same way the "biDiSupport" and "strictNumberSign" configuration options are already. Seems more useful than those, actually. 👍 I'll try and add this soon.