SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-04-06 06:56:35

Half-a-bagel
New Member
Registered: 2010-04-05
Posts: 7

[SOLVED]Locale issue

Hello everyone!

I got stuck with setting the locale. Default one is en_GB and I want to change it to ru_RU. I've seen already the topic
http://crunchbanglinux.org/forums/topic … -language/
but it didn't work for me sad.

What I did:

  • In /etc/default/locale I changed LANG="en_US.UTF-8" to LANG="ru_RU.UTF-8"

  • Once I did it and rebooted my machine, I tried locale command, but it showed me something different from what I expected
    LANG=C and other similar stuff.

  • Manual setting LC_ALL and LANG variables with export was not the right decision.

  • sudo dpkg-reconfigure locales still gave me something like

en_HK.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_IN UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_NG UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
  • And finally I tried sudo dpkg-reconfigure localepurge, selected only ru_RU.UTF-8, but it didn't help either

Could someone guide me and help me to set ru_RU.UTF-8 locale for both console and XServer?
I suspect not all locales are installed in the system. How can I make sure all appropriate locales installed in the system?

Last edited by Half-a-bagel (2010-04-06 10:59:32)

Offline

Help fund CrunchBang, donate to the project!

#2 2010-04-06 07:06:26

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: [SOLVED]Locale issue

When you did  sudo dpkg-reconfigure locales
did you put a * in front of ru_RU? Because it is not generated yet. You have to scroll through the list and check the ru_RU with the spacebar.


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#3 2010-04-06 10:33:13

Half-a-bagel
New Member
Registered: 2010-04-05
Posts: 7

Re: [SOLVED]Locale issue

Tunafish wrote:

When you did  sudo dpkg-reconfigure locales
did you put a * in front of ru_RU? Because it is not generated yet. You have to scroll through the list and check the ru_RU with the spacebar.

When I did and do now sudo dpkg-reconfigure locales, I could only watch a list of en_* locales printed to the console.
But when I did sudo dpkg-reconfigure localepurge, yes, I checked ru and ru_RU.UTF-8

Last edited by Half-a-bagel (2010-04-06 10:39:31)

Offline

#4 2010-04-06 10:58:55

Half-a-bagel
New Member
Registered: 2010-04-05
Posts: 7

Re: [SOLVED]Locale issue

Finally, I've found a solution:

sudo locale-gen ru_RU.UTF-8
sudo gedit /etc/default/locale, edit content to LANG="en_GB.UTF-8"
sudo reboot

big_smile big_smile big_smile

Last edited by Half-a-bagel (2010-04-07 06:01:14)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo