Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence.browser.language.enabled not working

Christian Kai May 11, 2021

Hello,

I added

confluence.browser.language.enabled = false in the setenv.sh file et deleted cache / restarted the server.

But the interface still detect the browser settings and not my default language set in the admin interface of confluence.

 

Thank you for your help

1 answer

1 accepted

1 vote
Answer accepted
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2021

Hi @Christian Kai 
I hope you are well.

According to Choosing a Default Language , the language preference is ruled by the following configuration:

The language used for your session will depend on the settings below, in the following order of priority from highest to lowest:

  • The language preference defined in your user profile. Note that you need to be logged in for this setting to take effect.
  • The language that you choose by clicking an option at the bottom of the Confluence login screen. Confluence stores this value in a cookie. When the cookie expires, the setting will expire too. 
  • The language set in your browser. The browser sends a header with a prioritized list of languages. Confluence will use the first supported language in that list. Confluence administrators can disable this option by setting the confluence.browser.language.enabled system property to false.
  • The default language for your site, as defined by your Confluence site administrator.

 

Make sure the two options above are not associated to your profile before testing the system property.

The full entry in setenv.sh should look like the below.

CATALINA_OPTS="-Dconfluence.browser.language.enabled=false ${CATALINA_OPTS}"

How's it configured in your instance?

I hope that helps.

Kind regards,
Thiago Masutti

Christian Kai May 11, 2021

I don't have the "-D" before the entry confluence, i will test and tell you if is okay.

 

Thank you

Christian Kai May 11, 2021

Ok, it seems to be good with "-D", you should update the documentation with this.

 

Thank you

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events