[rt-devel] rt-3-0-3pre4 - Language Guessing

Jonas Lincoln lincoln at unit.liu.se
Tue Jun 17 02:36:24 EDT 2003


By adding that line, I get the following when I start apache:

Use of uninitialized value in -e at 
/service/perl+5.8/arch/linux-intel/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm 
line 304.
[Tue Jun 17 08:33:18 2003] [error] cannot find 
/service/rt3/local/po/*/en.po (called by RT::I18N) in @INC at 
/service/perl+5.8/arch/linux-intel/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm 
line 304.
Compilation failed in require at (eval 6) line 1.

Syntax error on line 245 of /service/rt3/conf/httpd.conf:
cannot find /service/rt3/local/po/*/en.po (called by RT::I18N) in @INC 
at 
/service/perl+5.8/arch/linux-intel/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm 
line 304.
Compilation failed in require at (eval 6) line 1.


Autrijus Tang wrote:
> On Mon, Jun 16, 2003 at 01:56:55PM +0200, Jonas Lincoln wrote:
> 
>>Anyways, after this upgrade, if a browser is set to Language=Swedish, rt 
>>guesses that the user want to view rt in Norwegian(!). This is not the 
>>behaviour we want (default to english, please). How can we change this 
>>behaviour?
> 
> 
> You can add this line to your RT_SiteConfig.pm:
> 
>     @LexiconLanguages = qw(en);
> 
> That will turn it into an English-only system.
> 
> Thanks,
> /Autrijus/




More information about the Rt-devel mailing list