You are not logged in.
Hi there,
I don't consider myself a newbie, but this is something I can't understand. It shouldn't be a big issue, so I guess it's a newbie issue ![]()
Thing is, I can't get my desktop to work fully localised. Most of my apps (including everything related to gnome3) default to English, even though I've set up es_ES.utf8 locale in locale.conf:
$ cat /etc/locale.conf
LANG=es_ES.utf8
LC_ALL=es_ES.utf8
LC_TIME=es_ES.utf8
LC_MESSAGES=es_ES.utf8
LC_COLLATE=es_ES.utf8
LC_CTYPE=es_ES.utf8
LC_MONETARY=es_ES.utf8
LC_NUMERIC=es_ES.utf8Some output that might be useful:
$ locale -a
C
en_US.utf8
es_ES@euro
es_ES.iso885915@euro
es_ES.utf8
POSIX$ locale
locale: No se puede establecer LC_ALL al local predeterminado: No existe el fichero o el directorio
LANG=es_ES.utf8
LC_CTYPE=es_ES.utf8
LC_NUMERIC=es-ES
LC_TIME=es-ES
LC_COLLATE=es_ES.utf8
LC_MONETARY=es-ES
LC_MESSAGES=es_ES.utf8
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT=es-ES
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=
(the first line means "locale: LC_ALL can't be set to default locale: no such file or directory")$ grep LOCALE /etc/rc.conf
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: Set the locale during daemon startup and during the boot
LOCALE="es_ES.UTF-8"
DAEMON_LOCALE="no"Any ideas? Of course, I can provide any other info needed.
Thanks all!
Offline
Are you using lightdm?
https://bbs.archlinux.org/viewtopic.php … 5#p1018045
Offline
Nope, I use gnome3 and gdm
Offline
Have you checked the Language & Region settings under System Settings in gnome?
Offline
I've just tried and I think System Settings is the only app in gnome that shows up in Spanish. Then, in Language & Region I have Unspecified [ANSI_X3.4-1968] (I understand it means ASCII encoding), but if I click on any of the other options it crashes. The same happens if I try to add a new Format language (there are none at the moment), but the section about keyboard layout is fine.
I've now launched System Settings via gnome-control-center command, and I get a gtk warning and then a segfault then it crashes, nothing else. In case it's useful, this is the warning:
(process:2262): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.Any ideas?
Offline
(process:2262): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
Really just a guess, but it may have sth to do with this recent update...
we are Arch.
you will be assimilated!
resistance is futile!
Offline
I followed that when it came out. And the problem actually started then, but I've done it again just in case and it didn't work either.
Offline
An update on this: today I noticed that on gdm login screen, the date was correctly localized in Spanish, but as soon as I logged in it turned back into English
Offline
Seems like this is a dupe of https://bugs.archlinux.org/task/26525. Are you using ZSH?
Offline
I don't think it's the same issue, or I can't find any similarities. This is about apps showing in default English, and an error when I run 'locale'. I don't use zsh btw
Offline
No more ideas? Can anyone using gnome3 post his locale.conf file? There might be something wrong with mine...
Offline
Offline
I understand that means that it's fixed in git but it hasn't come out in a new package, because the patch came out on Nov 27th and the last update in [core] was on Nov 18th. Am I right?
Offline
Offline
I've just tried it and it didn't work. Thanks for the idea though.
Again, can anyone post a locale.conf file in working with gnome3?
Offline
looks like I have a similar problem since started using zsh.... the locale set in rc.conf is en_US.UTF-8, but the command locale show me this:
LANG=C
LC_CTYPE=C
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=and all the prompts I tried in zsh look garbled.
Offline
It still doesn't look like my problem, and mine doesn't seem to be solved like yours because I use gdm (and gnome is supposed to be started from gdm, I guess)
Offline
Try to start gnome using the .xinit method. Delete gdm from the DAEMONS array in /etc/rc.conf and try starting gnome from .xinitrc
exec ck-launch-session gnome-sessionand then see if you have the same issue.
Offline
Yes, I do. All the related output I can find is the one I posted in #5 in this thread.
Offline
Remove LC_ALL=es_ES.utf8 from /etc/locale.conf and make sure you have LOCALE="es_ES.UTF-8" in /etc/rc.conf, then boot and check.
I can't find the reference right now, but it was something about LC_ALL messing all other LC settings up if set in locale.conf. I've had similar troubles with locale, removing LC_ALL helped.
Here's my locale.conf:
LANG="fi_FI.utf8"
LC_CTYPE="fi_FI.utf8"
LC_NUMERIC="fi_FI.utf8"
LC_TIME="fi_FI.utf8"
LC_COLLATE="fi_FI.utf8"
LC_MONETARY="fi_FI.utf8"
LC_MESSAGES="fi_FI.utf8"
LC_PAPER="fi_FI.utf8"
LC_NAME="fi_FI.utf8"
LC_ADDRESS="fi_FI.utf8"
LC_TELEPHONE="fi_FI.utf8"
LC_MEASUREMENT="fi_FI.utf8"
LC_IDENTIFICATION="fi_FI.utf8"Offline
Nope, it didn't work either...
$ cat /etc/locale.conf
LANG="es_ES.utf8"
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"And in rc.conf:
LOCALE="es_ES.UTF-8"Then, after rebooting:
$ locale
locale: No se puede establecer LC_ALL al local predeterminado: No existe el fichero o el directorio
LANG=es_ES.utf8
LC_CTYPE=es_ES.utf8
LC_NUMERIC=es-ES
LC_TIME=es-ES
LC_COLLATE=es_ES.utf8
LC_MONETARY=es-ES
LC_MESSAGES=es_ES.utf8
LC_PAPER=es_ES.utf8
LC_NAME=es_ES.utf8
LC_ADDRESS=es_ES.utf8
LC_TELEPHONE=es_ES.utf8
LC_MEASUREMENT=es-ES
LC_IDENTIFICATION=es_ES.utf8
LC_ALL=
(the first sentence means: LC_ALL can't be set to default locale: no such file or directory)But gnome still shows everything in English. Any other ideas?
Last edited by Surgat_ (2011-12-07 14:34:16)
Offline
Looking at the output of locale, something is changing "es_ES.utf8" into "es-ES" (in LC_NUMERIC, LC_TIME, LC_MEASUREMENT). I'm not familiar with Gnome, but I'm guessing it sets these things internally somewhere, overriding what has been set before it starts.
Time to do some grepping?
Edit: Is there a "control panel" in Gnome, with an entry for "international settings"?
Edit 2: Oops, that was asked already. I need more coffee...
Last edited by samuvuo (2011-12-07 15:14:32)
Offline
Surgat_, I had the same problem as you today, ie:
(process:8609): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: locale::facet::_S_create_c_locale name not valid
/usr/sbin/gparted: line 99: 8609 Trace/breakpoint trap $BASE_CMDhere are the steps I took to solve my issue:
1. Uncomment your locale in /etc/locale.gen. This should match rc.conf.
2. run locale-gen
If you run locale -a before and after you should be able to see the issue being solved.
If we both had the same problem then maybe we should report a bug? I don't know what caused it but I did just do an update.
btw, I don't have an /etc/locale.conf file.
Last edited by JamieKitson (2011-12-08 20:15:34)
Offline
@JamieKitson: if you check the output of locale -a in my first post, you can see that my locale is already generated. I'm not right in front of that computer now, but I'm pretty sure that it's uncommented in locale.gen (otherwise it wouldn't appear in locale -a).
@samuvuo: I will try some grepping later, or maybe tomorrow. But still, if LANG is correctly set, I think I should see some Spanish around... and I can only see it in Firefox (because I installed firefox-es-es). Maybe I should try without a locale.conf file...
Offline