ngx-translate-po-http-loader
ngx-translate-po-http-loader copied to clipboard
MultiPoTranslationHttpLoader
Extract an abstract class with common functionality. Create a loader that loads from n-translation files and merge the translations. In case of key collision, the last resource passed in (its translations) has more priority. Thus, the developer still has the control on priorities. The existing TranslatePoHttpLoader functionality is untouched.
This allows to keep your translations organised (per module/library in subfolders) within the main application. (Some organization might want to keep the translations centralised).
Potential/desired improvement Merge strategies.
Please, my organization is holding on this. Could anyone have a quick look?
I love this one! Hope it will be merged!
@RignonNoel in the meantime, I had to publish the package in order to unblock my team. Feel free to use it, it is public. https://www.npmjs.com/package/@flexys/ngx-translate-po-http-loader
@sergiojoker11 Thanks! I will wait a little bit since this feature is not an urgency for me but i will definitively use it in the future. It's really more easy to understand for translators if files are splitted!