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

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Tue, 23 Sep 2014 20:46:29 +0200

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: