Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: cannot change locale< Next Oldest | Next Newest >
Pupa Offline





Group: Members
Posts: 10
Joined: Nov. 2007
Posted: Nov. 28 2007,22:38 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 29 2007,00:20 QUOTE

If you already have the locales, you can set them by setting these environmental variables: LANG and the LC_* variables, such as LC_ALL
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Nov. 29 2007,15:46 QUOTE

The commands you tried compile locales from the definitions, which are not in DSL..

Try "export LANG=lt_LT.utf8"


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Pupa Offline





Group: Members
Posts: 10
Joined: Nov. 2007
Posted: Dec. 02 2007,12:18 QUOTE

"export LANG=lt_LT.utf8" -- yes, that changed my locale!
Tank you!
Back to top
Profile PM 
3 replies since Nov. 28 2007,22:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: cannot change locale

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code