diff --git a/Docs/URL_Parameters.md b/Docs/URL_Parameters.md index a971ec31f..e27c610c3 100644 --- a/Docs/URL_Parameters.md +++ b/Docs/URL_Parameters.md @@ -68,8 +68,8 @@ 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: -1. Use the language as set by the URL-parameter `language`. This will _disable_ setting the language by the user -1. If the user did log in and did set their language before with MapComplete, use this language. This language selection is synchronized accross devices using the openstreetmap.org user preferences. +1. Use the language as set by the URL-parameter `language` (following ISO 639-1 | ex. `language=nl`). This will _disable_ setting the language by the user +2. If the user did log in and did set their language before with MapComplete, use this language. This language selection is synchronized accross devices using the openstreetmap.org user preferences. 3. If the user visited MapComplete before and did change their language manually, this changed language will be saved in local storage. Use the language from local storage 4. Use the navigator-language (if available) 5. Use English diff --git a/src/UI/i18n/Locale.ts b/src/UI/i18n/Locale.ts index 09848aa0d..2fee81c18 100644 --- a/src/UI/i18n/Locale.ts +++ b/src/UI/i18n/Locale.ts @@ -39,8 +39,8 @@ export default class Locale { "The language to display MapComplete in.", "The user display language is determined in the following order:", "", - "1. Use the language as set by the URL-parameter `language`. This will _disable_ setting the language by the user", - "1. If the user did log in and did set their language before with MapComplete, use this language. This language selection is synchronized accross devices using the openstreetmap.org user preferences.", + "1. Use the language as set by the URL-parameter `language` (following ISO 639-1 | ex. `language=nl`). This will _disable_ setting the language by the user", + "2. If the user did log in and did set their language before with MapComplete, use this language. This language selection is synchronized accross devices using the openstreetmap.org user preferences.", "3. If the user visited MapComplete before and did change their language manually, this changed language will be saved in local storage. Use the language from local storage", "4. Use the navigator-language (if available)", "5. Use English",