[pygtk] gtk.Builder and translation directory

Osmo Salomaa otsaloma at cc.hut.fi
Mon Mar 2 00:32:15 WST 2009


Hello list,

I'm trying to move from Libglade to GtkBuilder and I have one problem
remaining. gtk.glade had a bindtextdomain function (much like
gettext.bindtextdomain) that took the translation directory as an
argument. gtk.Builder seems to have a set_translation_domain method, but
it's only for defining the domain. How do I set the directory where to
search for translations to strings in GtkBuilder XML files?

-- 
Osmo Salomaa <otsaloma at cc.hut.fi>



More information about the pygtk mailing list