[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-localizer] Towards Localizer 1.0
From: |
Garikoitz Araolaza |
Subject: |
Re: [Nuxeo-localizer] Towards Localizer 1.0 |
Date: |
Mon, 14 Oct 2002 12:24:20 +0200 |
At 13:31 13/10/02, you wrote:
I want to release Localizer 0.9.2 before the end of the month
and Localizer 1.0 before the Hispalinux congress (November 14).
Tell me if there's something you want to see in Localizer for
the 1.0 release. Even if you already told me, don't hesitate
to ask again, this way I'll now your priorities.
Yes... I'm not sure about what should be the right logic in select_language
in AcceptLanguage module, but here is a posible correction:
- I have a bilingual ( 'es' and 'en' ) Localizer site.
- Let's say that default language is set to 'en' (for the rest of users
that aren't spanish speakers).
- User from Argentina with 'es-AR' setting in his browser comes in the site.
- As 'es-AR' is not equal to 'es', the user receives the 'en' (default)
version.
I think that he should receive the standard 'es' version...
May I suggest a second matching loop be done when
len(lang) > 2 and language == None
with lang[:2] in select_language ?
Gari
_______________________________________
Garikoitz Araolaza
Code&Syntax
address@hidden
BIC-Berrilan
Azitaingo Industrialdea
E-20600-EIBAR
Tel: +34 943 82 06 06