Re: how to use i18n?

Greg Ward <[email protected]> Thu, 9 Sep 2004 08:11:48 -0400
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
On 09 September 2004, Thorsten Kampe said:
> Optik 1.5 offers internationalisation (according to the readme). How 
> do I actually use it? I compiled optik.de.po that comes with the 
> distribution in the po-folder to optik.mo and moved it to 
> /usr/share/locale/de/LC_MESSAGES/ and checked that LANGUAGE, LANG, 
> LC_ALL and LC_MESSAGES were set to de_DE. I set permissions to 755.
> 
> But no change and no error message. Is there something else I have to 
> do?

Yes.  Unfortunately, I don't know what it is.  I just took a patch from
SourceForge and applied it, then asked around for translations.  I'm
sure there's something you'll need to do at application-level to make
gettext() actually translate Optik's strings, but I don't know what it
is.

Perhaps the author of that patch, Leon J. Breedt, could help -- hence
I'm cc'ing him on this message.

        Greg
-- 
Greg Ward <[email protected]>                         http://www.gerg.ca/
A day without sunshine is like night.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click