Re: [pygtk] pygtk i18n problem with windows and glade sentences

2012-02-21 Thread Giuseppe Penone
Thank you very much. what solved my problem on windows os is (from your code): from ctypes import cdll libintl = cdll.intl libintl.bindtextdomain(domain, localedir) Best regards, Giuseppe. On Mon, Feb 20, 2012 at 09:21, Dieter Verfaillie wrote: > On Mon, 20 Feb 2012 00:08:13 +0100, Giuseppe Pe

Re: [pygtk] pygtk i18n problem with windows and glade sentences

2012-02-20 Thread Dieter Verfaillie
On Mon, 20 Feb 2012 00:08:13 +0100, Giuseppe Penone wrote: does anybody know if there's a way to have glade sentences translated on windows? Yep, I've pointed out a possible solution here: https://bugzilla.gnome.org/show_bug.cgi?id=574520#c36 mvg, Dieter __

[pygtk] pygtk i18n problem with windows and glade sentences

2012-02-19 Thread Giuseppe Penone
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