Closed Bug 1821046 Opened 1 year ago Closed 10 months ago

Use the list of languages for auto-translating, rather than just the app locale's language

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Right now the page detection logic is comparing against Services.locale.appLocaleAsBCP47. Instead it should work off of a list languages. There are two lists, so maybe we should combine both?

  • Services.locale.appLocalesAsBCP47 returns the app or UI language.
  • Services.locale.webExposedLocales returns the list of web requested locales.

The UI overall is a bit confusing on setting the two of them, so I am nervous that it will make a user confused on what is offered for translation if continue to be automatic about doing translations.

The intent of webExposedLocales is to limit fingerprinting, but allow a user to request specific locales. The translations are web visible, so it could leak fingerprinting information.

The severity field is not set for this bug.
:anatal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(anatal)
Flags: needinfo?(anatal) → needinfo?(gtatum)
Type: defect → task
Flags: needinfo?(gtatum)

This will be resolved by Bug 1829687.

Blocks: 1829687
No longer blocks: 1829687
Depends on: 1829687
Assignee: nobody → gtatum

Fixed by Bug 1829687

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.