I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Greetings, Laurent
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
In most cases it is because lb is not configured on your system. On Debian this can be done with
sudo dpkg-reconfigure locales
If I understand $search_enging correct you will need to add lb into file /var/lib/locales/supported.d/local and run sudo dpkg-reconfigure locales after.
Hope, this helps, works and makes sense ;)
Cheers, Frank
On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
?
In most cases it is because lb is not configured on your system. On Debian this can be done with
sudo dpkg-reconfigure locales
If I understand $search_enging correct you will need to add lb into file /var/lib/locales/supported.d/local and run sudo dpkg-reconfigure locales after.
A more general, less Debian-specific approach is to edit /etc/locale.gen and add lb_LU.utf-8 or whatever is the correct language code for Luxembourg. After that, run 'locale-gen' to generate the newly added locale. Then LANG=lb_LU.utf-8 geany should work.
However, completely unrelated to Geany.
Regards, Enrico
On Mon, 8 Jun 2009 19:57:51 +0200, Enrico wrote:
On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
?
Ignore the question mark, after Laurent's answer to Frank's question and re-reading the question I finally got what it meant :). I somehow failed to read 'locale' as the command, and instead read it literally, nevermind. Sorry.
The rest of my previous port is still true.
Regards, Enrico
On Mon, 8 Jun 2009 20:20:20 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Ignore the question mark, after Laurent's answer to Frank's question and re-reading the question I finally got what it meant :).
I'm afraid my English skills needs some upgrade ;)
Cheers, Frank
On Mon, 8 Jun 2009 20:24:48 +0200, Frank wrote:
On Mon, 8 Jun 2009 20:20:20 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Ignore the question mark, after Laurent's answer to Frank's question and re-reading the question I finally got what it meant :).
I'm afraid my English skills needs some upgrade ;)
Or mine. Or it's just us as we sometimes don't understand each other even when speaking in German, lol.
Regards, Enrico
On Mon, 8 Jun 2009 20:48:43 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 8 Jun 2009 20:24:48 +0200, Frank wrote:
On Mon, 8 Jun 2009 20:20:20 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Ignore the question mark, after Laurent's answer to Frank's question and re-reading the question I finally got what it meant :).
I'm afraid my English skills needs some upgrade ;)
Or mine. Or it's just us as we sometimes don't understand each other even when speaking in German, lol.
We should discuss this offline at next pub ...
Cheers, Frank
Enrico Tröger schrieb:
On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
?
In most cases it is because lb is not configured on your system. On Debian this can be done with
sudo dpkg-reconfigure locales
If I understand $search_enging correct you will need to add lb into file /var/lib/locales/supported.d/local and run sudo dpkg-reconfigure locales after.
I did that. "sudo dpkg-reconfigure locales" outputs a list with locales that it updated. The last line it writes gives:
lb_LU.UTF-8... cannot open locale definition file `lb_LU': No such file or directory failed
I wonder what files it's looking for and also where it is looking for them.
I have an empty folder in /usr/lib/locale with the name "lb_LU.utf8" and an empty file called "lb" in /var/lib/locales/supported.d/
I doubt that these things should actually be empty.
A more general, less Debian-specific approach is to edit /etc/locale.gen and add lb_LU.utf-8 or whatever is the correct language code for Luxembourg. After that, run 'locale-gen' to generate the newly added locale. Then LANG=lb_LU.utf-8 geany should work.
However, completely unrelated to Geany.
Couldn't find /etc/locale.gen on my Ubuntu. I guess this is one of the points where Ubuntu differs from Debian.
On Tue, 09 Jun 2009 20:37:45 +0200, Laurent wrote:
Enrico Tröger schrieb:
On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
?
In most cases it is because lb is not configured on your system. On Debian this can be done with
sudo dpkg-reconfigure locales
If I understand $search_enging correct you will need to add lb into file /var/lib/locales/supported.d/local and run sudo dpkg-reconfigure locales after.
I did that. "sudo dpkg-reconfigure locales" outputs a list with locales that it updated. The last line it writes gives:
lb_LU.UTF-8... cannot open locale definition file `lb_LU': No such file or directory failed
I wonder what files it's looking for and also where it is looking for them.
I have an empty folder in /usr/lib/locale with the name "lb_LU.utf8" and an empty file called "lb" in /var/lib/locales/supported.d/
I doubt that these things should actually be empty.
Yes, however no idea really. I guess the key is to find the correct language code, I still doubt lb_LU is correct but I couldn't find any reference on the web, seems it isn't used widely at all. E.g. on my system, I don't have a single lb_* translation installed (except this from Geany).
A more general, less Debian-specific approach is to edit /etc/locale.gen and add lb_LU.utf-8 or whatever is the correct language code for Luxembourg. After that, run 'locale-gen' to generate the newly added locale. Then LANG=lb_LU.utf-8 geany should work.
However, completely unrelated to Geany.
Couldn't find /etc/locale.gen on my Ubuntu. I guess this is one of the points where Ubuntu differs from Debian.
Weird. Ok, then maybe better someone with Ubuntu experience should answer and point you to the right way.
Regards, Enrico
2009/6/9 Enrico Tröger enrico.troeger@uvena.de
On Tue, 09 Jun 2009 20:37:45 +0200, Laurent wrote:
Enrico Tröger schrieb:
On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
?
In most cases it is because lb is not configured on your system. On Debian this can be done with
sudo dpkg-reconfigure locales
If I understand $search_enging correct you will need to add lb into file /var/lib/locales/supported.d/local and run sudo dpkg-reconfigure locales after.
I did that. "sudo dpkg-reconfigure locales" outputs a list with locales that it updated. The last line it writes gives:
lb_LU.UTF-8... cannot open locale definition file `lb_LU': No such file or directory failed
I wonder what files it's looking for and also where it is looking for them.
I have an empty folder in /usr/lib/locale with the name "lb_LU.utf8" and an empty file called "lb" in /var/lib/locales/supported.d/
I doubt that these things should actually be empty.
Yes, however no idea really. I guess the key is to find the correct language code, I still doubt lb_LU is correct but I couldn't find any reference on the web, seems it isn't used widely at all. E.g. on my system, I don't have a single lb_* translation installed (except this from Geany).
According to
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes http://www.gnu.org/software/gettext/manual/gettext.html#Country-Codes
the codes should be correct. I'm not sure either whether it must be lb or lb_LU. Honestly speaking I'm not surprised that you don't have a single lb_* file on you system. To my knowledge the only software beside Geany which has a luxembourgish translation is Notepad++, Limewire and KDE has a few parts which are translated, though not even completely.
A more general, less Debian-specific approach is to edit /etc/locale.gen and add lb_LU.utf-8 or whatever is the correct language code for Luxembourg. After that, run 'locale-gen' to generate the newly added locale. Then LANG=lb_LU.utf-8 geany should work.
However, completely unrelated to Geany.
Couldn't find /etc/locale.gen on my Ubuntu. I guess this is one of the points where Ubuntu differs from Debian.
Weird. Ok, then maybe better someone with Ubuntu experience should answer and point you to the right way.
I'll try the Ubuntu Forums, maybe somebody there knows an answer.
Regards, Laurent.
On Tue, 9 Jun 2009 21:44:44 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Yes, however no idea really. I guess the key is to find the correct language code, I still doubt lb_LU is correct but I couldn't find any reference on the web, seems it isn't used widely at all. E.g. on my system, I don't have a single lb_* translation installed (except this from Geany).
According to ISO 639-1 its realy lb. Unfortunately it appears glibc is not supporting this. At least I diddn't find any reference there for this language (whcih to be honest I just can't believe). However. Mea maxima culpa. I didn't check this on including lb to list of translations. I will need to spent some investigation work here.
Cheers, Frank
On Wed, 10 Jun 2009 09:29:49 +0200 Frank Lanitz frank@frank.uvena.de wrote:
On Tue, 9 Jun 2009 21:44:44 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Yes, however no idea really. I guess the key is to find the correct language code, I still doubt lb_LU is correct but I couldn't find any reference on the web, seems it isn't used widely at all. E.g. on my system, I don't have a single lb_* translation installed (except this from Geany).
According to ISO 639-1 its realy lb. Unfortunately it appears glibc is not supporting this. At least I diddn't find any reference there for this language (whcih to be honest I just can't believe). However. Mea maxima culpa. I didn't check this on including lb to list of translations. I will need to spent some investigation work here.
I did and it seems that there needs to be done some manual work on Debian/Ubuntu for activating lb_LU. Christian Perrier provided a little howto on Debian's i18n list [1]. I will check later this week and let you know my experiences.
Cheers, Frank
[1] http://lists.debian.org/debian-i18n/2009/06/msg00039.html
On Mon, 08 Jun 2009 19:31:04 +0200 Laurent Hoeltgen hoeltgman@gmail.com wrote:
I know this questions is in the FAQ, however it doesn't work for me. I've got Ubuntu 8.04 in German. But when I try to start geany in any other language using LANG=lb geany for example, I end ub with geany in English and get the following Debug message. WARNING : Locale not supported by C library. Using the fallback 'C' locale.
Does anybody know what I'm doing wrong?
Can you please post what locale is giving you back on commandline?
Here's the Output:
locale LANG=de_LU.UTF-8 LC_CTYPE="de_LU.UTF-8" LC_NUMERIC="de_LU.UTF-8" LC_TIME="de_LU.UTF-8" LC_COLLATE="de_LU.UTF-8" LC_MONETARY="de_LU.UTF-8" LC_MESSAGES="de_LU.UTF-8" LC_PAPER="de_LU.UTF-8" LC_NAME="de_LU.UTF-8" LC_ADDRESS="de_LU.UTF-8" LC_TELEPHONE="de_LU.UTF-8" LC_MEASUREMENT="de_LU.UTF-8" LC_IDENTIFICATION="de_LU.UTF-8" LC_ALL=
locale -a C de_AT.utf8 de_BE.utf8 de_CH.utf8 de_DE.utf8 de_LI.utf8 de_LU.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_NG en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZW.utf8 POSIX