[rt-users] Disabling Web-interface languages / localization

Autrijus Tang autrijus at autrijus.org
Sun May 25 15:16:41 EDT 2003


On Fri, May 23, 2003 at 11:29:30PM +0200, Stefan Seiz wrote:
> if I only want rt3 to display the webinterface in english, no matter what
> lang preference a users browser is set to, hat is the correct method of
> disabling all the other languages as .de and so on?

If Jesse merges the @RT::LexiconLanguages chunk from my branch,
simply adding this line in your RT_SiteConfig.pm:

    @LexiconLanguages = ('en');

will do the trick.

> PS: I'd rather like to see a per user language pref within RT and not have
> this being detected by the browser pref...

Hacking together $User->Lang support to rt/html/User/Prefs.html and
rt/lib/RT/CurrentUser.pm should be straightforward; patches welcome. :)  

Thanks,
/Autrijus/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030526/463778eb/attachment.sig>


More information about the rt-users mailing list