Re: [Tuxpaint-devel] [Tuxpaint-cvs] tuxpaint/src i18n.c,1.60,1.61
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <pe...@fo...> - 2009-11-23 12:56:53
|
El dl 23 de 11 de 2009 a les 07:47 +0100, en/na Chion Jacques va escriure: > > > > The locale and lang stuff should work much better now. > > Please try again. > > > > If it doesn't work, see if defining ABUSE_ENV at the top > > of i18n.c helps. > > > > > > 1°) if i type 'tuxpaint', tuxpaint is in french (my locale): > on the console : > lang (nil), locale (nil) > lang "(null)", locale "(null)" > lang_prefixes[27] is "fr" > > 2°) if i type 'tuxpaint --lang french', tuxpaint is in french. > On the console : > lang 0xbfbfd6c7, locale (nil) > lang "french", locale "(null)" > lang_prefixes[27] is "fr" > > 3°) if i type 'tuxpaint --lang english', tuxpaint is in english > On the console : > lang 0xbf89f6c6, locale (nil) > lang "english", locale "(null)" > lang_prefixes[14] is "en" > > 4°) if i type 'tuxpaint --lang spanish', tuxpaint is in english > on the console : > lang 0xbfaf8689, locale (nil) > lang "spanish", locale "(null)" > lang_prefixes[14] is "en" > I can confirm this, when the language called by lang=language is not listed by "locale -a" then it defaults to English. locale -a ar_EG.utf8 C ca_ES.utf8 el_GR.utf8 en_US.utf8 es_ES.utf8 fr_FR.utf8 he_IL.utf8 POSIX tuxpaint --lang=italian shows the UI in English ./tuxpaint --lang=italian lang 0xbfe9b823, locale (nil) lang "italian", locale "(null)" lang_prefixes[14] is "en" Adding the italian to locales then it shows in italian. #dpkg-reconfigure locales ./tuxpaint --lang=italian lang 0xbf813823, locale (nil) lang "italian", locale "(null)" lang_prefixes[40] is "it" Pere |