http://www.perlmonks.org?node_id=839463


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

    Thank you almut, it works.

    Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."