You are not logged in.

#1 2011-10-27 23:37:56

Supernova
Member
Registered: 2011-05-30
Posts: 30

[SOLVED]Pacman broke locale

I issued a system update via "sudo pacman -Syu" after following this announcement.
https://www.archlinux.org/news/initscri … -required/

Now, after update, it changed the system language(not keyboard layout though) to us_US from it_IT.
How do I change it back? I changed the us_US to it_IT in all possible locations.
>rc.conf
>locale.conf
>locale.sh
in their respective locations.
The language is still in English. I want it in Italian, like it was.
Thanks!

Last edited by Supernova (2011-10-28 18:37:32)

Offline

#2 2011-10-28 00:16:48

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [SOLVED]Pacman broke locale

I think LOCALE changes are only applied after a reboot (just in case you haven't done that after changing locale.conf).

Otherwise sorry, I use English so I can't be of much help.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-10-28 01:03:19

Supernova
Member
Registered: 2011-05-30
Posts: 30

Re: [SOLVED]Pacman broke locale

Of course I rebooted but it didn't change. Just tried again.Any help?

Offline

#4 2011-10-28 01:08:34

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [SOLVED]Pacman broke locale

did you try running locale-gen (as root) after setting the locale in /etc/locale.gen ?

Offline

#5 2011-10-28 01:51:18

Supernova
Member
Registered: 2011-05-30
Posts: 30

Re: [SOLVED]Pacman broke locale

KingX wrote:

did you try running locale-gen (as root) after setting the locale in /etc/locale.gen ?

Yes, I commented us_US locales out which happened to be uncommented out(maybe after the update?). Then uncommented the it_IT 3 locales which I need, saved the file, run locale-gen as root, it said generation completed, rebooted, still nothing. Everywhere that could affect the locale, I have set it_IT as locale. I am confused at this point.

Offline

#6 2011-10-28 03:53:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Pacman broke locale

us_US doesn't exist. is en_US and you shouldn't move to the new way unless you have problems sourcing rc.conf ad login


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-10-28 15:59:10

Supernova
Member
Registered: 2011-05-30
Posts: 30

Re: [SOLVED]Pacman broke locale

wonder wrote:

us_US doesn't exist. is en_US and you shouldn't move to the new way unless you have problems sourcing rc.conf ad login

Yeah, en_US is what I meant.
Still, no luck even though I changed every possible variable to it_IT from en_US that could affect the locale of my system. Ran locale-gen as root, rebooted. Still nothing.
Meh!

Offline

#8 2011-10-28 16:34:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Pacman broke locale

pots output of locale and locale -a


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2011-10-28 17:00:23

Supernova
Member
Registered: 2011-05-30
Posts: 30

Re: [SOLVED]Pacman broke locale

Mr.Elendig wrote:

pots output of locale and locale -a

locale -a

C
italian
it_IT
it_IT@euro
it_IT.iso88591
it_IT.iso885915@euro
it_IT.utf8
POSIX

locale

LANG=it_IT.UTF-8
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES=C
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

Everything is in English now. I want them like they were, in Italian sad

Offline

#10 2011-10-28 17:21:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Pacman broke locale

LC_MESSAGES=C

means the output of .e.g pacman will be in English.

Offline

#11 2011-10-28 18:31:19

Supernova
Member
Registered: 2011-05-30
Posts: 30

Re: [SOLVED]Pacman broke locale

karol wrote:
LC_MESSAGES=C

means the output of .e.g pacman will be in English.

Removed this line and it fixed it.
Thanks everyone for helping!

Offline

#12 2011-10-28 18:37:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Pacman broke locale

Supernova wrote:
karol wrote:
LC_MESSAGES=C

means the output of .e.g pacman will be in English.

Removed this line and it fixed it.
Thanks everyone for helping!

This setting is very helpful when you paste the output on the forums as not everyone speaks Italian, but it's enough if you do

LC_ALL=C <command>

to get output in English, no need to set it to C by default.

Offline

Board footer

Powered by FluxBB