You are not logged in.

#1 2013-09-15 22:08:40

Noctivivans
Member
Registered: 2010-01-12
Posts: 14

System ignores locale/language setting [solved?]

Hi

I updated my system a few days ago and since then all gtk2/3 applications ignores language settings. I have set correct locale in /etc/locale.conf, /etc/locale.gen (I haven't changed it since installation), locale command also returns correct values. Even if I force locale from command line (by changing LANG or LC_ALL), apps are still in english.
When the problem appears I had Cinnamon desktop, but i tried also Gnome and Kde - same effect (in Kde problem affects gtk apps), I also tried to change login manager (lxdm, lightdm, gdm, kdm), also without positive result. Clearing user config also doesn't help. Any ideas?

Thanks in advance.

UPDATE: It seems whole system ignores locale (in kde I just can manually select custom locale and then it works in kde/qt apps), including console apps (I just didn't notice that before). Strange thing is that Thunderbird has also correct language settings although it is not kde/qt app (in contrast to e.g firefox, which even ignores general.useragent.locale variable).

Last edited by Noctivivans (2013-09-16 23:24:36)

Offline

#2 2013-09-15 22:54:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: System ignores locale/language setting [solved?]

I think you need to give the output of those actual test you have run.  So post the output of locale -a and locale just as a sanity check (with code blocks!).  Then you might also want to post the output of localegen.

Offline

#3 2013-09-15 22:59:48

Noctivivans
Member
Registered: 2010-01-12
Posts: 14

Re: System ignores locale/language setting [solved?]

locale-gen

Generating locales...
  pl_PL.UTF-8... done
Generation complete.

locale

LANG=pl_PL.UTF8
LC_CTYPE="pl_PL.UTF8"
LC_NUMERIC="pl_PL.UTF8"
LC_TIME="pl_PL.UTF8"
LC_COLLATE="pl_PL.UTF8"
LC_MONETARY="pl_PL.UTF8"
LC_MESSAGES="pl_PL.UTF8"
LC_PAPER="pl_PL.UTF8"
LC_NAME="pl_PL.UTF8"
LC_ADDRESS="pl_PL.UTF8"
LC_TELEPHONE="pl_PL.UTF8"
LC_MEASUREMENT="pl_PL.UTF8"
LC_IDENTIFICATION="pl_PL.UTF8"
LC_ALL=

locale -a

C
pl_PL.utf8
POSIX

I tried e.g. invoke

LANG=pl_PL.UTF8 galculator

from command line.

Last edited by Noctivivans (2013-09-15 23:00:47)

Offline

#4 2013-09-15 23:08:26

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: System ignores locale/language setting [solved?]

Is localectl's output sane as well?  This is what mine looks like:

localectl                                                                         
   System Locale: LANG=en_US.UTF-8
       VC Keymap: wonderwoofy
      X11 Layout: n/a

Note that the VC Keymap is like that because I made my own custom keymap.  So it would otherwise say "us".  I guess I am fortunate that the defaults line up with my actual language…

Offline

#5 2013-09-15 23:10:35

Noctivivans
Member
Registered: 2010-01-12
Posts: 14

Re: System ignores locale/language setting [solved?]

mine looks like this:

   System Locale: LANG=pl_PL.UTF8
       VC Keymap: pl
      X11 Layout: n/a

Offline

#6 2013-09-16 23:23:49

Noctivivans
Member
Registered: 2010-01-12
Posts: 14

Re: System ignores locale/language setting [solved?]

The problem is solved, but i'm not exactly sure how... I cleared almost all of my system and user configuration before it started working again.

Offline

#7 2013-09-17 09:21:10

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: System ignores locale/language setting [solved?]

I have had the same issue about half year ago at one of my computers (funny - also polish language). The same sympthoms and everything set up correctly. No solution - after forced reinstall now works fine. So only one think - I can confirm the problem.


Lenovo G50 | LXQT-git | compton | conky

Offline

Board footer

Powered by FluxBB