2009/6/9 Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, 09 Jun 2009 20:37:45 +0200, Laurent wrote:<br>
<br>
>Enrico Tröger schrieb:<br>
>> On Mon, 8 Jun 2009 19:40:29 +0200, Frank wrote:<br>
>><br>
>>> On Mon, 08 Jun 2009 19:31:04 +0200<br>
>>> Laurent Hoeltgen <<a href="mailto:hoeltgman@gmail.com">hoeltgman@gmail.com</a>> wrote:<br>
>>><br>
>>>> I know this questions is in the FAQ, however it doesn't work for<br>
>>>> me. I've got Ubuntu 8.04 in German. But when I try to start geany<br>
>>>> in any other language using<br>
>>>> LANG=lb geany<br>
>>>> for example, I end ub with geany in English and get the following<br>
>>>> Debug message.<br>
>>>> WARNING    : Locale not supported by C library.<br>
>>>>    Using the fallback 'C' locale.<br>
>>>><br>
>>>> Does anybody know what I'm doing wrong?<br>
>>> Can you please post what locale is giving you back on commandline?<br>
>><br>
>> ?<br>
>><br>
>><br>
>>> In most cases it is because lb is not configured on your system. On<br>
>>> Debian this can be done with<br>
>>><br>
>>> sudo dpkg-reconfigure locales<br>
>>><br>
>>> If I understand $search_enging correct you will need to add lb into<br>
>>> file /var/lib/locales/supported.d/local and run sudo<br>
>>> dpkg-reconfigure locales after.<br>
><br>
>I did that. "sudo dpkg-reconfigure locales" outputs a list with locales<br>
>that it updated. The last line it writes gives:<br>
><br>
>lb_LU.UTF-8... cannot open locale definition file `lb_LU': No such file<br>
>or directory<br>
>failed<br>
><br>
>I wonder what files it's looking for and also where it is looking for<br>
>them.<br>
><br>
>I have an empty folder in /usr/lib/locale with the name "lb_LU.utf8"<br>
>and an empty file called "lb" in /var/lib/locales/supported.d/<br>
><br>
>I doubt that these things should actually be empty.<br>
<br>
</div></div>Yes, however no idea really. I guess the key is to find the correct<br>
language code, I still doubt lb_LU is correct but I couldn't find any<br>
reference on the web, seems it isn't used widely at all. E.g. on my<br>
system, I don't have a single lb_* translation installed (except this<br>
from Geany).</blockquote><div><br>According to<br></div><div><br><a href="http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes">http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes</a><br>
<a href="http://www.gnu.org/software/gettext/manual/gettext.html#Country-Codes">http://www.gnu.org/software/gettext/manual/gettext.html#Country-Codes</a><br><br>the codes should be correct. I'm not sure either whether it must be lb or lb_LU.<br>
Honestly speaking I'm not surprised that you don't have a single lb_* file on you system.<br>To my knowledge the only software beside Geany which has a luxembourgish translation is Notepad++,<br>Limewire and KDE has a few parts which are translated, though not even completely.<br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
>> A more general, less Debian-specific approach is to<br>
>> edit /etc/locale.gen and add<br>
>> lb_LU.utf-8<br>
>> or whatever is the correct language code for Luxembourg.<br>
>> After that, run 'locale-gen' to generate the newly added locale.<br>
>> Then LANG=lb_LU.utf-8 geany<br>
>> should work.<br>
>><br>
>> However, completely unrelated to Geany.<br>
>><br>
><br>
>Couldn't find /etc/locale.gen on my Ubuntu. I guess this is one of the<br>
>points where Ubuntu differs from Debian.<br>
<br>
</div>Weird. Ok, then maybe better someone with Ubuntu experience should<br>
answer and point you to the right way.</blockquote><div><br>I'll try the Ubuntu Forums, maybe somebody there knows an answer. <br><br><br>Regards,<br>Laurent.<br></div></div>