mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
36ac81322a
wiki/Languages.md has the account's language first, then the browser's. The browser step only ran on the login page, so opening a trip with a live session in a new browser (or after the site data was cleared) showed English to anyone whose account had no language of its own. The app now starts in the browser's language when nothing was chosen in this browser, and keeps it when the account has none. Nothing is written to the account; a language set in the account or picked in the app still wins. The detection moved to its own module so the settings store can use it at startup. Refs #2604