Page 1 of 1

Change the default language

Posted: Thu Oct 02, 2014 7:14 pm
by mercury1231
It appears that the default language is English if no locale is detected or selected?

To change the default language used in the system (without having to "concatenate" the bLocale="xxx" in the request URL), I can think of putting the translations in the default message.properties (other similar files).
Is there any other more convenient ways with less effort?

Re: Change the default language

Posted: Fri Oct 03, 2014 10:43 am
by phillipuniverse
In the database, change the DEFAULT flag in BLC_LOCALE to whichever locale you want to be the default. The BroadleafLocaleResolver will pick this up and switch the locale for you.

Re: Change the default language

Posted: Fri Oct 03, 2014 12:14 pm
by mercury1231
Awsome! That saved me enough time for just trying :-)