[rt-devel] About I18N

Jesse Vincent jesse at bestpractical.com
Mon May 26 12:57:24 EDT 2003



On Mon, May 26, 2003 at 06:51:10PM +0200, Mathieu Arnold wrote:
> Hi,
> 
> I see that in RT, all l10n is done via either /l or either loc(). I see
> quite easily that loc comes from RT::CurrentUser and that it's in fact
> RT::I18N::maketext. my little problem comes from the fact that
> CurrentUser::LanguageHandle should passes an array to get_handle with the
> languages it should use. But LanguageHandle is never passed any language
> array.

Locale::Maketext defaults to reading the correct environment variables
to determine your preferred language in either a web or commandline
environment.

> 
> I believe I must have missed something, but I don't understand how RT found
> out my browser prefered french :)
> 
> -- 
> Mathieu Arnold
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rt-devel mailing list