Re: Query regarding translations
- From: "Ray Wang" <rawang novell com>
- To: "Nisha Pandita" <pandita nisha123 gmail com>, <gnome-i18n gnome org>
- Subject: Re: Query regarding translations
- Date: Thu, 23 Apr 2009 00:22:25 -0600
>>> On 4/23/2009 at 1:45 PM, in message
<4620a8b10904222245j2533959bl2aba821a2d8e47bc mail gmail com>, Nisha Pandita
<pandita nisha123 gmail com> wrote:
> Hello,
>
> I was just working on the translations of a small application made using
> glade interface and python...I am able to create the .pot files and
> corresponding .po files and .mo files ...but after executing the
> application with a particular locale i am not getting the translations
> done...
>
> Command i have used to create the .pot file
>
> xgettext -f POTFILES.in HelloWorldGTK.py --output=hello.pot
>
> Command to create the .po files
>
> msginit -l hi
>
> Command for creating the .mo files
>
> msgfmt --output=hello.mo hi.po
Hey man, you have to copy the .mo file to your
/usr/share/locale/YOUR_LOCALE/LC_MESSAGES/HelloWorldGTK.mo
then the program could find the translated message from that location.
>
> Command for executing the application
>
> LANGUAGE =hi python HelloWorldGTK.py
>
> but still i am not getting the translated strings...
>
> I am attaching my application to it
>
> Please help me out
>
> Thanks and Regards,
>
> Nisha
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]