[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: i18n problem...
From: xavier.allamigeon () free ! fr
Date: 2003-03-15 8:57:50
[Download RAW message or body]
En réponse à Stanislav Visnovsky <visnovsky@kde.org>:
> On Fri, 14 Mar 2003 xavier.allamigeon@free.fr wrote:
>
> > En réponse à Nicolas Goutte <nicolasg@snafu.de>:
> >
> > > 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!
> >
> > Sure, but my application has the "fr" translation. "fr.po", and the
> build files
> > (fr.gmo if I remember...) exist. But in spite of that, it refuses to
> translate
> > the text... And during the compilation, there is no error message
> concerning
> > the po files. Futhermore, the "fr.gmo" file is installed in the right
> KDE
> > directory (I mean, <KDE3_directory>/share/apps/fr/LC_MESSAGES/, or
> something
> > like that)... So, any ideas ?
>
> What is the name of your application? If it's called kxx, the
> translation
> file should be <KDE3_DIRECTORY>/share/locale/fr/LC_MESSAGES/kxx.mo
>
> Also, you can try "strace kxx 2>&1 | grep locale" to see, where the
> app
> tries to load your translation file.
>
> Stanislav
>
Very good idea, I will try it ! Obviously, it seems to be the problem : a wrong
name for my mo file (according to Andras, my application looks for KFanI8K.mo
and not kfani8k.mo). Thanks for all !
Xavier
>> 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