This problem seems to crop up a lot, but even looking back at other reports
of the same issue, I can't get this to work.

my program is translated using gettext, and here's the relevant snippet of
code where the translation is started:

import gettext, locale

class DelugeGTK:
   def __init__(self):
       APP = 'deluge'
       DIR = os.path.join(dcommon.INSTALL_PREFIX, 'share', 'locale')
       gtk.glade.bindtextdomain(APP, DIR)
       gtk.glade.textdomain(APP)
       locale.bindtextdomain(APP, DIR)
       locale.textdomain(APP)
       gettext.bindtextdomain(APP, DIR)
       gettext.textdomain(APP)
       gettext.install(APP, DIR)

the problem is that Strings within my Python code are translated fine, but
Strings in the gladefile are not translated at all.
The rest of the code is viewable at http://deluge-torrent.org/browser/trunk,
this snippet came from src/delugegtk.py
--
Zach Tibbitts - [EMAIL PROTECTED]
http://collegegeek.org
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to