On 19-05-11 16:06, Andreas Heinlein wrote:
Am 16.05.2011 18:18, schrieb Timo:
On 16-05-11 16:09, Andreas Heinlein wrote:
Hello,

I have a pyGtk App which uses gtkBuilder for its interface and gettext
(Python Module) for translation. Translating works *except* for column
headers on several Treeviewcolumns. The UI definition looks like this:

...
<child>
      <object class="GtkScrolledWindows" id="scroll">
          ....
          <child>
              <object class="GtkTreeView" id="view1">
              <child>
                  <object class="GtkTreeViewColumn" id="column0">
                      <property name="title">Key ID</property>
This property needs a translatable="yes" for the string to be translated.

You were right. Seems it is actually a bug in my Glade Interface
Builder, which is supposed to set that automatically, but obviously
doesn't in that case.
Ahh yes, I remember that one. It is fixed since Glade 3.7.
To enable the translateble option for Glade 3.6, see this post: http://old.nabble.com/Re%3A-Mark-gtk.Action-strings-as-translatable-p27192506.html If I remember correctly, the paths weren't the same on Ubuntu 10.10, I had to edit /usr/share/glade3/catalogs/gtk+.xml

Cheers,
Timo

Thanks,
Andreas
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to