-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
use different directories for translation files #781
Comments
Hey, |
Hi, thanks for your answer. I tried this code but i dont really get it to work. |
Hey,
fail in error... as if angular can't find Observable import.
|
In plunker the "root file" is not as in classic angular app |
I'm using ngx-translate to translate buttons, headers, ... in my app and this works fine. My translation files are in the /assets/i18n/ folder.
Now I have mockdata which I also have to translate, but my mockdata is in another directory -> /assets/data/
To load my json translations files from the i18n folder I use:
but now I also want to load the files from the data directory.
How can I achieve that?
ngx-translate version: 8.0.0
Angular version: 4.4.3
The text was updated successfully, but these errors were encountered: