Re: Gtk2::Builder and locales



Does anyone have any ideas on this?
It is rather annoying that locale stuff doesn't work with Gtk2::Builder :(

On 28 March 2012 12:13, Chris Debenham <chris adebenham com> wrote:
I recently migrated my app (www.lyricue.org) from Glade to GtkBuilder but in the process found that translation of the ui files is not being done.
Anything I translate directly in code (via 'gettext()' ) works as does any of the built-in strings (such as "Exit")
It is like the Gtk2::Builder object is not binding to the domain correctly although I have an explicit $builder->set_translation_domain('lyricue') call
That translating individual strings works suggests that the lyricue.mo file is installed correctly and is found so I am not sure what is going on here.
I found a similar/related bug at https://bugzilla.gnome.org/show_bug.cgi?id=574520 but I tried replicating their solution in perl without success.

Is anyone else using Gtk2::Builder and if so is i18n working?

Thanks,
ÂÂ Chris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]