[rt-users] Problem with lanuguage support

Fellhauer, Torsten torsten.fellhauer at sap.com
Wed Jul 30 05:20:30 EDT 2003


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
      });




More information about the rt-users mailing list