>
> Could you explain us what we need to do differently in the future to
> make GtkBuilder files to use gettext? Is that some option in glade3 for
> example?
>
GtkBuilder automatically uses gettext. You need to use
gtk_builder_set_translation_domain in order for it to know which
domain to use. Most of the work required taking the redundant
localization code out of the C++ files. Sometimes the GtkBuilder
files would just have %s that was overwritten, but too often the
strings were in the GtkBuilder files and then overwritten by the exact
same (localized) strings in the C++ files. The only real problems
here is that combo boxes still have to be programmatically filled, as
do strings containing variables (for example, your email address in
AbiCollab).
Keith
Received on Mon Jul 20 07:12:43 2009
This archive was generated by hypermail 2.1.8 : Mon Jul 20 2009 - 07:12:44 CEST