System Administration

Re: How to add new locale to system?

 
SOLVED
Go to solution
Igor Sovin
Super Advisor

How to add new locale to system?

Hi all!

I've just compiled new locale ru_RU.utf8
How to add it to system, so I can see it in locale -a output?
2 REPLIES 2
Paul Thomson_2
Super Advisor
Solution

Re: How to add new locale to system?

Igor
Im not 100% sure, but I think if you place the file in the directory

/usr/lib/nls/loc


Then look for the symbolic link to the locales

ie
lrwxr-xr-x 1 root root 26 Feb 12 16:23 locales -> /usr/lib/nl
s/loc/locales.2

So place the new file in locales.2

It should then show up in locale -a

Hope this helps ?

Paul
Argh ye land lovers !
Ravi_8
Honored Contributor

Re: How to add new locale to system?

Hi,

#export LANG=ru_RU.utf8
#export LC_ALL=ru_RU.utf8
#locale
never give up