Chore: update documentation

This commit is contained in:
Pieter Vander Vennet 2023-07-16 02:50:02 +02:00
parent 2942a2dae7
commit 86306b22a5
2 changed files with 5 additions and 1 deletions

View file

@ -68,10 +68,12 @@ Finally, the URL-hash is the part after the `#`. It is `node/1234` in this case.
The language to display MapComplete in.
The user display language is determined in the following order:
- If the user did log in and did set their language before with MapComplete, use this language
- If the user visited MapComplete before and did change their language, use this language (saved in localStorage)
- If the user visited MapComplete before and did change their language, use the language as set by this URL-parameter. This will _disable_ saving the language to localStorage in case a non-logged-in user changes their language
- Use the navigator-language (if available)
- Use English
Note that this URL-parameter is not added to the URL-bar by default.
Translations are never complete. If a translation in a certain language is missing, English is used as fallback. No default value set

View file

@ -38,6 +38,8 @@ export default class Locale {
"- Use the navigator-language (if available)",
"- Use English",
"",
"Note that this URL-parameter is not added to the URL-bar by default.",
"",
"Translations are never complete. If a translation in a certain language is missing, English is used as fallback."].join("\n"),
)
} else {