cancel
Showing results for 
Search instead for 
Did you mean: 

How to change backoffice default language

Former Member
0 Kudos

Hi experts,

I have created a new language in the system namely en_US. Initially the default backoffice language (login page) referred to en but now its pointing to en_US.

Can somebody help me to understand where are we setting the default language and how to fix the issue.

Thanks, Shivani

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
former_member625836
Active Contributor
0 Kudos

Hi!

If I understand you correctly, then you are referring to language that is chosen by default on login page. It is determined by ZK (see org.zkoss.util.Locales#getDefault()) and probably should be changeable by java.util.Locale#setDefault()

Cheers, Jacek

Former Member
0 Kudos

Search for this class in your workspace: BackofficeAuthenticationSuccessHandler

It picks up the currentLocale when locale details in authentication are not present.

You can write a custom authentication handler if you want to make changes in OOB handler functionality.