gnuherds-app-dev
[Top][All Lists]
Advanced

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

Re: [GNU Herds]: French translator


From: Davi Leal
Subject: Re: [GNU Herds]: French translator
Date: Sun, 4 Mar 2007 23:17:50 +0100
User-agent: KMail/1.9.5

> Davi Leal wrote:
> > Camille, taking into account that the web application has available the
> > English, Spanish, French, Italian and Portuguese translations, what
> > countries do you think should get the French translation by default?.
> >
> > Of course, France.  About Canada may the English one must we shown by
> > default.
> >
> > I think Belgium should get the French translation by default too due to
> > we have not the Dutch or the German one.  Maybe Luxembourg and
> > Switzerland should get the French as default too. Let me know your
> > opinion.
> >
> > Reference: http://en.wikipedia.org/wiki/French_language

Camille Huot wrote:
> I don't understand why you want to match languages with countries since web
> browsers have a way to list the known languages, via the HTTP headers
> Accept-Language.
>
> For example, mine is:
>
> Accept-Language: fr;q=1.0,en;q=0.9
>
> ie: I accept French and English but I prefer French.

The algorithm to guest the language to show is at,
  Layer-2__Business_logic/others/Language_form.php


It is as follows:

  1. If the user has set a specific default language,
     setting the cookie, its value is used.

  2. else, user browser settings are processed
     (this is the case you are talking about)

  3. else, when the browser does not offer such
     setting or nothing match with the webapp
     supported languages, we try to guess the best
     default language to use according to country
     code, via GeoIP.

  4. else, the default language is used, English.


So, to be used in the (3.) case, we would like to know your opinion about the 
above questions.

Let the project now any disagreement or possible improvement.


P.S.: Sorry for my late answer. I have got my baby at Thursday. I am now more 
busy than usual.

Best regards,
Davi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]