Bug 1859081 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In the translations meeting we discussed a change in strategy to address issues like this.

Our new language detection strategy will be:

* If there is no language tag - run language detection
* If the language tag should not offer a translation - do not run language detection
* If the language tag should offer a translation - run the language detection as well

Then if language detection runs:

1. langtag is empty: use language detection result
2. langtag and detection agree: offer translation
3. langtag and detection disagree: do not offer translation
  a. If langtag or detected language are supported, still show the translations icon without pop-up When pop-up is opened, show "Choose a language" as the from-language.
  b. If neither langtag nor detected language are supported, do not show the icon.





Before we offer a translation, we can run language detection. Language detection will only run on cases where we have a
In the translations meeting we discussed a change in strategy to address issues like this.

Our new language detection strategy will be:

* If there is no language tag - run language detection
* If the language tag should not offer a translation - do not run language detection
* If the language tag should offer a translation - run the language detection as well

Then if language detection runs:

1. langtag is empty: use language detection result
2. langtag and detection agree: offer translation
3. langtag and detection disagree: do not offer translation
  a. If langtag or detected language are supported, still show the translations icon without pop-up When pop-up is opened, show "Choose a language" as the from-language.
  b. If neither langtag nor detected language are supported, do not show the icon.

Back to Bug 1859081 Comment 3