Christian Reis wrote:
On Fri, Jul 04, 2003 at 02:08:37PM +0100, [EMAIL PROTECTED] wrote:
Also I'm wondering that since the gettext python module doesn't actually call any glibc functions, does this have any affect on libglade? I can't see where the textdomain() calls etc. are done for libglade.
Isn't this in the FAQ? Python 2.3 will ship with a fixed version of gettext that does the standard glibc gettext setup; in the meantime, you'll need to use the intl package (the old version that Martin wrote) which is in C. It should compile just fine for any version of Python.
feck another dependency... aha! I just noticed: gtk.glade.bindtextdomain() This should do the trick?
Yes, that will do the right thing (it also sets the domain to use UTF-8 encoding, which is required for strings displayed by GTK.
You can use the intltool program to extract strings from glade files (along with other files).
James.
-- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
