You are not logged in.

#1 2012-12-26 18:49:51

meson11
Member
Registered: 2012-12-26
Posts: 13

[solved] Problems with localization

Hello!

My problem is, that gdm is in german as i want, but gnome and programs are mostly in english. The strange thing is, that it has worked already until i changed the language in the gnome gui to english. now i cant change it back, it always keeps on Unspecified [ANSI_X3.4-1968]

Anyone can help me?

Her a few informations:

# locale                
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC=de_AT.utf8
LC_TIME=de_AT.utf8
LC_COLLATE="de_DE.utf8"
LC_MONETARY=de_AT.utf8
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT=de_AT.utf8
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
# locale-gen
Generating locales...
  de_AT.UTF-8... done
  de_AT.ISO-8859-1... done
  de_AT.ISO-8859-15@euro... done
Generation complete.

/etc/locale.conf

 LANG=de_AT.UTF-8
LC_COLLATE=C

and nautilus, for example, gives:

 (nautilus:1355): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

Last edited by meson11 (2012-12-26 22:25:42)

Offline

#2 2012-12-26 21:58:22

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [solved] Problems with localization

It looks like you have only configured it to generate de_AT.UTF-8 but are also asking it to use de_DE.UTF-8. Maybe you need to fix this so it generates both locales? For example, my /etc/locale.conf has:

$ cat /etc/locale.conf
LANG=cy_GB.UTF-8
LANGUAGE=cy_GB:cy:en_GB:en
LC_COLLATE=C

You can check what's available like this:

$ locale -a
C
POSIX
cy_GB
cy_GB.iso885914
cy_GB.utf8
en_GB
en_GB.iso88591
en_GB.utf8
en_US
en_US.iso88591
en_US.utf8

Make sure that you have uncommented the relevant lines in locale.gen and regenerated the locales if you make any corrections.

Last edited by cfr (2012-12-26 21:59:30)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-12-26 22:23:32

meson11
Member
Registered: 2012-12-26
Posts: 13

Re: [solved] Problems with localization

Thank you! Now it works.

Offline

Board footer

Powered by FluxBB