Open
Description
Current behavior
-
Alternate i18n files are not loaded when using lazy-loaded modules if "isolate" param is false. So the module can access the main file translations but not theirs.
-
When "isolate" is true the file is correctly loaded but the module doesn't have access to previously loaded translations.
Expected behavior
Lazy loaded modules should be able to load their own translation files and at the same time being able to access previously loaded translation files as stated in the docs.
How do you think that we should fix this?
Minimal reproduction of the problem with instructions
For reproduction please follow the steps of the ngx-translate docs in a freshly angular created application with one or more lazy-loaded modules and one shared module exporting TranslateModule.
Environment
ngx-translate version: 12.1.2
Angular version: 9.1.0
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 10.15.2
- Platform: Linux
Others:
Metadata
Metadata
Assignees
Labels
No labels