in reply to Locale::gettext doesn't find dictionary files
...and put into /home/sini/it/IT
Have you tried to put the .mo file in /home/sini/it_IT/LC_MESSAGES/ ?
Works for me (when I msgfmt -o ~/it_IT/LC_MESSAGES/license.mo license.po — and set $d->dir('/home/almut'), of course), i.e. it prints "Ciao!".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Locale::gettext doesn't find dictionary files
by psini (Deacon) on May 13, 2010 at 10:12 UTC |
In Section
Seekers of Perl Wisdom