Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 567
Gorayni Avatar asked Oct 22 '14 22:10

Gorayni


1 Answers

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.

like image 128
Jean Montague Avatar answered Oct 05 '22 06:10

Jean Montague