Re: Another case of gettext with Gtk2::GladeXML



Hi,
 i'd like to came back on the email:
 http://mail.gnome.org/archives/gtk-perl-list/2005-November/msg00034.html

I can get the translation working no problem w/o that much fuss for
the code part.
I put my POs in ./LocalData and I include:

use POSIX;
use Locale::TextDomain ('joellisme');

I can then use __ has described in Locale::TextDomain ...e.g.
   $xml_root->get_widget("btnIgnore")->set_label(__"Ignore");

The thing is.. i can't get the glade interfaces to get translated..
You can reproduce the problem by running:
"LANGUAGE=fr_CA ./joellisme.pl"
And look at the menu, "File" should be "Fichier".

I'm attaching my code,
any help appreaciated!

-Pascal
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)

Attachment: joellisme-0.6.0.tar.bz2
Description: BZip2 compressed data



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