Skip to content
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 with ngx-translate #62

Open
fabioformosa opened this issue Mar 23, 2018 · 3 comments
Open

Problem with ngx-translate #62

fabioformosa opened this issue Mar 23, 2018 · 3 comments

Comments

@fabioformosa
Copy link

I'm submitting a ... (check one with "x")

[] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Scenario:

  • I've imported ngx-admin-lte module in my app.
  • I've set ngx-translate in my app (default config).
  • Finally I've created assets/i18n/en.json in order to translate my custom labels.

Issue
Now my labels are translated but not anymore the labels of ngx-admin-lte.
I suppose i18n files of ngx-admin-lte are clashing with i18n files of my app.

I've looking for in around, and I've found this
ngx-translate/http-loader#6
I can't believe it. Likely, there is a mistake in my configuration.

How could I solve?

@TwanoO67
Copy link
Owner

As far as I know you should redefined your own translation in a file that contains those of ngx-admin-lte too

@fabioformosa
Copy link
Author

So, should I copy&paste labels defined in ngx-admin-lte in my translation files? sounds bad.

@MihaiHoriaPopescu
Copy link
Contributor

@fabioformosa Yes, you need to copy them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants