[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#455804: packages.debian.org displays in French whenever requested in Catalan



On Tue, Dec 11, 2007 at 11:35:43PM +0100, Frank Lichtenheld wrote:
> On Tue, Dec 11, 2007 at 11:07:48PM +0100, Robert Millan wrote:
> > When a packages.debian.org page is requested in Catalan (either via http
> > headers or lang parameter), the result appears in French.
> > 
> > For example:  http://packages.debian.org/sid/grub-installer?lang=ca
> 
> Hmm, indeed. Will investigate.

Locale::Maketext is a bit too smart for its own good. As documented, it
should try the fallbacks ('i-default','en','en-US') but before that
it tries I18N::LangTags::panic_languages, which in case of 'ca' returns
('es','pt','it','fr'). Since fr is the only one of these packages.d.o is
currently translated to, it gets used. Will override that to directly
fall back to 'en', since that is probably less confusing.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/




Reply to: