Gtk2::Builder and locales
- From: Chris Debenham <chris adebenham com>
- To: gtk-perl-list <gtk-perl-list gnome org>
- Subject: Gtk2::Builder and locales
- Date: Wed, 28 Mar 2012 12:13:01 +1100
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]