Problems to set default locale with Ubuntu template

ohmer

New Member
Mar 2, 2010
27
1
3
Hello,

I read many things about setting up the default locale in Ubuntu and nothing works... my system stay in English...

How do you change your default language ?

Thanks!
 
I read many things about setting up the default locale in Ubuntu and nothing works... my system stay in English...

First, we use Debian (not Ubuntu).

How do you change your default language ?

If you talk about the web interface you can set it there.

Else try "dpkg-reconfigure locales", and set the locale in '/etc/default/locale'.
 
Unfortunately, I seem to have the same problem, irrespective of the distribution I have in container (debian or ubuntu). The solution that I could find is to firstly generate files for locales in need, for instance:
Code:
locale-gen en_US.UTF-8 ru_RU.UTF-8
and then to set locale variables with:
Code:
update-locale LANG=ru_RU.UTF-8
The reboot of the container is needed for settings to take place.
 
Last edited: