diff --git a/Docs/URL_Parameters.md b/Docs/URL_Parameters.md index 151659b55b..bf0bb4a760 100644 --- a/Docs/URL_Parameters.md +++ b/Docs/URL_Parameters.md @@ -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 diff --git a/UI/i18n/Locale.ts b/UI/i18n/Locale.ts index b569508204..122cb10a05 100644 --- a/UI/i18n/Locale.ts +++ b/UI/i18n/Locale.ts @@ -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 {