Closed aortmannm closed 6 years ago
Hello,
there's a PR on hold for that, it should be coming soon, hopefully this week end I'll try to merge it
Very nice, thanks for the quick answer
Any news?
You can try 6.0.0 beta 1, it should be possible to define different configs for the loaders of each lazy loaded modules
I wrote a article about how to have 1 json file per lazy loaded module without having to write a new Custom Loader etc... it's quiet simple, only the documentation is not clear in fact: https://medium.com/@TuiZ/how-to-split-your-i18n-file-per-lazy-loaded-module-with-ngx-translate-3caef57a738f
Hello, I'm closing this issue because it's too old. If you have a similar problem with recent version of the library, please open a new issue.
I'm submitting a ... (check one with "x")
Current behavior one static path/file
Expected/desired behavior We are writing an hosting application where many modules can join and we host them in our frame. We need a solution where each module can use his own translation files.
Reproduction of the problem If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:btpW3l0jr5beJVjohy1Q).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
ng2-translate version: x.x.x
Angular version: 2.0.0-rc.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]