[pygtk] Language translation not working in Windows

Pietro Battiston toobaz at email.it
Sat Sep 19 18:48:08 WST 2009


Il giorno sab, 19/09/2009 alle 13.58 +0530, muhamed niyas ha scritto:
> 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

I imagine that between "msginit" and "msgfmt" there will be somwehere a
call to "poedit" or something similar... at that step, do you see glade
strings?

Pietro



More information about the pygtk mailing list