Reputation: 3301
I need to add Internationalization support in my JHipster generated app, for some Lazy-Loaded feature modules.
From what I found it seems to be an old problem, but since it's passed a bit of time from when the problem was first spotlighted, maybe now there is a working solution for this, which I couldn't found.
Here the related discussions:
Upvotes: 2
Views: 579
Reputation: 395
I had the same problem in Jhipster after a long time I found the solution. Follow this GitHub linked https://github.com/ruddell/jhipster-examples/commit/535350db6ef73a065e89fe9514e8a49eb6ed0956
It was a problem in old versions in Jhipster itself, all what you need is to update your project to the latest version of Jhispter or copy the new codes in green color in this commit to your project
1- update language.helper.ts 2- load user language in your lazy module's constructor as in admin.module.ts in that commit
Upvotes: 1