[pygtk] pygtk i18n problem with windows and glade sentences
Giuseppe Penone
giuspen at gmail.com
Mon Feb 20 07:08:13 WST 2012
Hi,
in order to have the i18n working on linux I use (cons is a module where I
have my constants written):
locale.bindtextdomain(cons.APP_NAME, cons.LOCALE_PATH)
gettext.translation(cons.APP_NAME, cons.LOCALE_PATH).install()
this way I have translated either the sentences from the glade file and the
sentences from the python code.
on windows I don't have locale.bindtextdomain available, this causes the
sentences from the glade file to be not translated.
does anybody know if there's a way to have glade sentences translated on
windows?
Thanks and best regards,
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120220/0420b3aa/attachment.html>
More information about the pygtk
mailing list