ld50 has asked for the wisdom of the Perl Monks concerning the following question:

I'm having trouble with getting a language to work with Locale::Message module.

My script works with other languages like nl (dutch) and en (english). I'm trying to get ga (Irish) to work but its not loading. i've aslo tried ga_IE

Here is the code thats giving me the trouble.
These are the modules:

use strict; use Net::Jabber qw( Client ); use Getopt::Long; use POSIX; use Net::Dict; use Locale::Messages qw (:locale_h :libintl_h); setlocale (LC_MESSAGES, "ga"); textdomain ('dictbot'); bindtextdomain ('dictbot' => "./locale");
------ one example of using gettext: ------
$message = gettext( "commands" ) . ":\n";
Is there anything obvious that im missing here.

Thanks,

mich

Replies are listed 'Best First'.
Re: Locale::Messages and Irish
by jdtoronto (Prior) on Dec 22, 2003 at 15:37 UTC
    A short code fragment so we can replicate you problem would be in order! Also a copy of any error messages the code produces in your environment.

    jdtoronto

Re: Locale::Messages and Irish
by Anonymous Monk on Dec 22, 2003 at 15:32 UTC
    Is there anything obvious that im missing here.
    Where? I ask because I see no code or error messages.
Re: Locale::Messages and Irish
by ld50 (Initiate) on Dec 23, 2003 at 03:29 UTC
    sorry about not having enough information on errors, but could you please give me some pointers on producing the required error messages. mich
      Just post the code of whatever it is that isnt working (brief, if possible), and tell us *how* it isnt working..

      C.