Dear Friedel, Thanks Friedel... Now translations worked in both Windows and Linux.
I refered the following 2 links to solve my issue http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/virtaal/virtaal/support/libi18n/locale.py?view=log http://mail.python.org/pipermail/python-list/2008-March/484058.html On Sep 22, 10:11 pm, F Wolff <[email protected]> wrote: > Op Sa, 2009-09-19 om 13:58 +0530 skryf muhamed niyas: > > > > > Hi All, > > > I am trying to translate my application to the language en_CA, > > For translating, the following comands i used > > > intltool-extract --type=gettext/glade myapp.glade > > > xgettext --language=Python --keyword=_ --keyword=N_ --output=myapp.pot > > myapp.py myapp.glade.h > > > msginit --input=myapp.pot --locale=en_CA > > > mkdir -p en_CA/LC_MESSAGES > > > msgfmt --output-file=en_CA/LC_MESSAGES/myapp.mo en_CA.po > > > Its perfectly translating in Debian and Ubuntu. > > But its not translating the labels in the glade in Windows. But if i > > am > > setting label values using python code, then its translating correctly > > in Windows also. > > > Thanks in Advance > > > Regards, > > Niyas > > Hallo Niyas > > We experienced the exact same problem in Virtaal. If I remember > correctly, the issue was _partly_ solved with a call to > glade.bindtextdomain(). The other part of it is solved by the code in > this file: > > http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/virta... > (I am partly guessing the URL, so you might need to look around if I got > it wrong.) > > Unfortunately I don't have web access right now, so I can't get to our > original bug and discussions about the topic, but hopefully this helps > you in the meanwhile. > > You might also be able to get a developer for Virtaal in #pootle on > irc.freenode.net - be on the lookout for "walterl" who is probably your > best source of information if my advice above does not help. > > Keep well > Friedel > > -- > Recently on my > blog:http://translate.org.za/blogs/friedel/en/content/support-afrikaans-go... > > _______________________________________________ > pygtk mailing list > [email protected]http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ:http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
