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

List:       kde-devel
Subject:    Re: i18n problem...
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-03-17 8:42:56
[Download RAW message or body]

Am Freitag, 14. März 2003 14:04 schrieb xavier.allamigeon@free.fr:
> 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...
> 
> Any ideas ?
You didn't translate your application into french. KDE will look for a 
<name_of_the_app>.mo in $KDEDIRS/share/locale/fr/LC_MESSAGES
and only if it exists, it will accept french.

Greetings, Stephan
 
>> 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