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

List:       kde-devel
Subject:    Re: i18n and KTextEditor apps
From:       Thiago Silva <thiago.silva () kdemail ! net>
Date:       2006-01-23 17:38:45
Message-ID: 200601231738.45602.thiago.silva () kdemail ! net
[Download RAW message or body]

Yes, it was the .mo file. I didn't made any translations, so everything was in 
english. After making a translation, everything worked fine!

Thanks for the reply
-- 
+Thiago Silva

On Monday 23 January 2006 02:56, Gary Cramblitt wrote:
> On Sunday 22 January 2006 16:03, Thiago Silva wrote:
> > First, I assume I don't have to translate things such as "Help" menu
> > items and other standard actions. So, I installed a kde i18n package
> > (pt_BR) and, just for testing, executed my app with KDE_LANG="pt_BR".
> > Then, my app pops up with all those default actions still in english
> > (wich is the language I'm running KDE). Isn't that supposed to show
> > translated? What I'm missing? By the way, my application uses
> > KParts::MainWindow.
>
> Does the pb_BR package you installed include translations of your
> application? If it is a new app or one that is not in the kde repository,
> the .mo files for your application won't exist and KDE will default to
> English.
>
> I'm not sure about KStdActions.
>
> See
> http://developer.kde.org/documentation/library/kdeqt/kde3arch/kde-i18n-howt
>o.html#SECTION00050000000000000000
>
> Try running without the country.
>
> KDE_LANG=pt myapp
>
> If that doesn't work, you can also try something like
>
> export LANG=pt_BR.UTF-8
> export LANGUAGE=pt_BR:pt
> KDE_LANG=pt myapp
>
> The XX language package is a good way to test.

 
>> 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