>>> On 4/23/2009 at 1:45 PM, in message <[email protected]>, Nisha Pandita <[email protected]> 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 > _______________________________________________ gnome-i18n mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-i18n
