Re: [pygtk] libglade, pyglade and gettext.py

2001-03-27 Thread James Henstridge

On Tue, 27 Mar 2001, Danie Roux wrote:

> How can I translate strings in my .glade files? I saved the strings in a
> seperate file from glade. And made that file part of my POTFILES.IN. And I
> do get the strings in my .pot files to translate. But it doesn't show.
> 
> The rest of my program does translate.

This is a bit of a problem.  Libglade performs translation using the C
level gettext routines.  However, both the gettext.py in gnome-python and 
the one in Python >= 2.0 are in pure python.  I know someone did a python
wrapper for the C gettext routines.  It could be used to set the correct
translation domain for use by libglade.

I should email Barry Warsaw about this problem and see what he thinks (it
would be pretty easy for the python 2.0 gettext.py to use an extension
module that wraps the C gettext API if available).

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] libglade, pyglade and gettext.py

2001-03-27 Thread Danie Roux

How can I translate strings in my .glade files? I saved the strings in a
seperate file from glade. And made that file part of my POTFILES.IN. And I
do get the strings in my .pot files to translate. But it doesn't show.

The rest of my program does translate.

--
Danie

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk