cannot change locale


Forum: Other Help Topics
Topic: cannot change locale
started by: Pupa

Posted by Pupa on Nov. 28 2007,22:38
Here is my available locales ("locale -a"):
C
POSIX
en_GB
en_GB.iso88591
lithuanian
lt_LT
lt_LT.iso885913
lt_LT.utf8

I want to change locale to lt_LT.utf8 but...
"localedef -f UTF-8 -i lt_LT lt_LT"
and...
"localedef -f UTF-8 -i lt_LT lt_LT.utf8"
answers...
"cannot open locale definition file 'lt_LT': No such file or directory"
...and my locale remains "C" :-(

Where is my locale definition file?

Posted by ^thehatsrule^ on Nov. 29 2007,00:20
If you already have the locales, you can set them by setting these environmental variables: LANG and the LC_* variables, such as LC_ALL
Posted by curaga on Nov. 29 2007,15:46
The commands you tried compile locales from the definitions, which are not in DSL..

Try "export LANG=lt_LT.utf8"

Posted by Pupa on Dec. 02 2007,12:18
"export LANG=lt_LT.utf8" -- yes, that changed my locale!
Tank you!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.