Problem with lanuguage support

Hi,

I had a problem with limiting the language support to 1 or 2 languages. When setting @LexiconLanguages = qw(en de) in RT_SiteConfig.pm and copying the relevant po-Files to $RTDIR/local/po/, Apache cannot be started because the po-Files cannot be found.

The following patch worked for me. Maybe its helpful for anybody else, so I post it here…

cu,
Torsten

diff -c RT/I18N.pm RT/I18N.pm.orig

*** RT/I18N.pm Wed Jul 30 10:55:58 2003
— RT/I18N.pm.orig Wed Jul 30 10:56:14 2003
*** 94,100 ****
decode => 1, map {
$
=> [
Gettext => (substr(FILE, 0, -3) . “/$.po"),
! Gettext => "$RT::LocalLexiconPath/$
.po”,
],
} @lang
});
— 94,100 ----
decode => 1, map {
$
=> [
Gettext => (substr(FILE, 0, -3) . “/$.po"),
! Gettext => "$RT::LocalLexiconPath/*/$
.po”,
],
} @lang
});