[haiku-bugs] Re: [Haiku] #9322: Documentation/Welcome: automatically detect user's language

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Mon, 31 Dec 2012 09:09:11 -0000

#9322: Documentation/Welcome: automatically detect user's language
-----------------------------+----------------------------
   Reporter:  dsjonny        |      Owner:  nielx
       Type:  enhancement    |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  Documentation  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by humdinger):

 Hmm... doesn't completely work for me. I tested with the German
 locale.[[BR]]
 Even though I have the docs installed locally, it always goes off to the
 ''English'' online version.

 After setting the English locale instead, the locally installed document
 is shown correctly. Removing the English docs, I'm taken to the online
 version. So for English it works perfectly.

 Can it be that the 'language' string you query from the browser isn't
 always how the doc folders are named, currently:
 {{{
 ca
 de
 en
 es
 fi
 fr
 hu
 it
 jp
 pt_BR
 pt_PT
 ru
 sk
 sv_SE
 uk
 zh_CN
 }}}

 Also, setting a language we don't yet have a translation for, like "Bahasa
 Indonesia", I'm taken to the English online version, instead of the
 locally installed English docs.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9322#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: