-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem using translation in a separate module #544
Comments
I was just able to reproduce it with a clean starter template. I just added a new module under 'features' called 'setup' and put a component 'devices' in it. The result is attached below. |
@Octoate any luck with solution ? |
The translator supports multiple plugins that are mostly pre-written loaders. I think the one you'd be most interested in is here From what I've read, which isn't much, it seems to me that whatever loader is loaded first (in this case the one in core module) is treated as a singleton and will not be overwritten. |
Hi,
first of all, thank you very much for the great starter template. It really helped me to get into NgRx.
However, I have the problem that I have created a new module under "features" called "setup" which contains a component called "devices". I also want to use a separate translation file for the "setup" module that is located under "assets/i18n/setup".
Unfortunately the translation does not work. If I change the "isolate" property in the SetupModule I can use the root translation, but it does not load the module translation (it also does not try to load it via the webbrowser).
It works if I set the defaultLanguage in the module.
I already tried a lot of things but made no progress. Any ideas what to change to get it working or where to look?
This is my setup module:
This is my component:
The text was updated successfully, but these errors were encountered: