[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: i18n problem...
From:       Lukáš Tinkl <lukas.tinkl () suse ! cz>
Date:       2003-03-14 14:25:10
[Download RAW message or body]

Dne pá 14. března 2003 15:18 Nicolas Goutte napsal(a):
> As far as I know, KGlobal::locale()->language() returns en_US if the
> current application has no translation in the wanted language.
>
> Have a nice day/evening/night!
>
> On Friday 14 March 2003 14:04, xavier.allamigeon@free.fr wrote:
> > Hello the list !
> >
> > I develop a small KDE-GUI application, and of course, I want to translate
> > it into different languages. So I use the i18n module, I follow all the
> > instructions given in the many documentations, and it doesn't work. More
> > precisely, when I display the variable
> > KGlobal::locale()->language()
> > I get "en_US", while my favorite KDE language is "fr" (set up in the
> > Control Panel).
> > Note that if I display
> > KGlobal::locale()->languages()
> > I get "fr"...
> >
> > And even if I lauch my application with
> > KDELANG="fr" ./<name_of_the_app>
> > it still doesn't work !
> > So the application doesn't seem to recognize my language global
> > settings...

... and you might want to try KDE_LANG ./<name_of_your_app>

-- 
Lukáš Tinkl
KDE developer; KOffice release manager
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: lukas.tinkl@suse.cz, lukas@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic