[Glade-users] Glade + Python > No translations in Glade strings
Tristan Van Berkom
tvb at gnome.org
Mon Mar 5 21:32:15 EST 2007
On Mon, 2007-03-05 at 19:33 -0500, Zach Tibbitts wrote:
> I'm using PyGTK and Glade, but strings from the gladefile don't get
> translated, while strings from the python code do. The strings are
> included in the .po and .pot files, but they remain in english when
> the other strings are translated.
>
> i've seen several solutions for this online, but none of them seem to
> work for me.
I dont know about python.
glade_xml_new() is the function that ultimately does everything
in libglade, so python must somehow bind to it somehow.
you need to get python to tell libglade about your translation domain,
which is an argument to glade_xml_new().
Cheers,
-Tristan
More information about the Glade-users
mailing list