How can I change LANG and LC_MESSAGES Environment Variables?

There is Environment Variables section under System Information in Confluence Admin panel.

And there are unexpected RU values for LANG and LC_MESSAGES.

LC_MESSAGES 	ru_RU.UTF-8
LANG			ru_RU.UTF-8

My system in CentOS and when I go to console i see

# locale
LANG=ru_RU.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
# env | grep ru
LC_MESSAGES=ru_RU.UTF-8
LANG=ru_RU.UTF-8

How can fix this and set en_US instead ru_RU for confluence?

2 answers

1 accepted

I was able to fix this by commenting SendEnv LANG LC_* line in /etc/ssh/ssh_config on my local computer, i.e. on linux computer from which I ssh to confluence server.

After commenting this line I disconnected via ssh from confluence, connected again and restarted confluence daemon.

After restarting confluence daemon I see LANG en_US.UTF-8 in Environment Variables section under System Information.

change locale for user under which the application run

export LANG=en_US.UTF-8


http://www.cyberciti.biz/faq/how-to-set-locales-i18n-on-a-linux-unix/

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

292 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you