[haiku-depot-web] Re: Unknown Natural Languages

  • From: Ralf Schülke <ralf.schuelke@xxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Tue, 23 Sep 2014 21:01:19 +0200

Hi,
why not used the client setting, every browser can say this, and when
it unknow then used the dafult language on server side setting, ig
"en".

When from user agend header not aviable the language string, then can
we show ftom ip geo localisation.

Ralf



2014-09-23 20:46 GMT+02:00 Stephan Aßmus <superstippi@xxxxxx>:
> Hi Andrew,
>
> Am 23.09.2014 11:55, schrieb Andrew Lindesay:
>>
>> Could you lookup the possible "natural languages" first with a call to
>> "getAllNaturalLanguages(..)" on the miscellaneous endpoint.  If the
>> user's natural language is not present then just use "en".
>
>
> But why don't you fall back to "en" on the server side? That's what I
> assumed would happen, without giving it any thought.
>
> Best regards,
> -Stephan
>

Other related posts: