#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):
I have modified dsjonny's Userguide and Welcome with some special cases to
always find the correct language subfolder. I also introduced a timeout
that will show some explanation after 2 seconds when no page can be shown
(which pretty much is only if the user doesn't have an internet connection
or our server is down), and added some userguide css.[[BR]]
I'm a pretty bad javascripter and putting the explanation strings into 5
variables looks bad even to my unexperienced eyes... If anyone can improve
upon it (or anthing else), please do so. I'll be committing the thing
soon.
--
Ticket URL: <https://dev.haiku-os.org/ticket/9322#comment:11>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.