#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 dsjonny): I know why: that's because the language code is "pt_PT", so the script translate it to "pt". If I turn of this, than the "de_DE" will not work, because the documentation is use the "de" instead of the "de_DE" in the path name. If I want to detect the "pt_PT" too, than the file needs to have duble script (to check "pt", "pt_PT", "pt_BR", local and online). So, I think we can do 3 things: - leave this in this form, but in this case, the user needs to select the Portugal manually - change the languages which has "sub-language" to the "xx_YY" format (in this case we need to remove some part of the script) - use single code ("xx") when the "main-code" and the "sub-code" is equal I prefer the 2nd, because it's logical, but it needs "more work". -- Ticket URL: <http://dev.haiku-os.org/ticket/9322#comment:7> Haiku <http://dev.haiku-os.org> Haiku - the operating system.