Gorayni Gorayni - 6 months ago 64
AngularJS Question

Where can I define the default i18n language in JHipster?

I am new to JHipster and I would like to where can I define the default i18n language in JHipster? Is it in a Java Configuration class, in Spring-Boot yaml file, or in Javascript file?

Answer

You can set the language you like in the weapp/scripts/app.js file by changing the preferred language line, for instance $translateProvider.preferredLanguage('fr');changes the language to french.

Comments