Open Bug 1930671 Opened 1 year ago Updated 1 year ago

Translate on Fenix doesn't remember the last user choice of target language

Categories

(GeckoView :: Translations, defect)

All
Android
defect

Tracking

(firefox132 affected, firefox133 affected, firefox134 affected)

Tracking Status
firefox132 --- affected
firefox133 --- affected
firefox134 --- affected

People

(Reporter: rsainani, Unassigned)

References

Details

Steps to reproduce

  1. Open a page not in app/OS languaage. e.g. https://otto.de
  2. Click the translate option in the 3 dot menu.
  3. Translation Bottom Sheet appears. Select app/OS langauge as target language if not selected and click "Translate".
  4. Observe translated page.
  5. Refresh the page so it opens in web page's default languages, german for this example.
  6. Repeat Step 2.

Expected behavior

The page should be translated to the app/OS languages that was selected earlier.

Actual behavior

Translation Bottom Sheet appears.

Device information

  • Firefox version: 134.0a1
  • Android device model: Google Pixel Tablet
  • Android OS version: 14

Any additional information?

I did an initial look at this and had trouble reproducing. Speaking to the reporter, it also sounded like it could be intermittent. I almost think it is because otto.de goes through language detection and possibly doesn't detect in time, so the toLanguage intermitently doesn't get populated? (speculative)

:nordzilla directed me to the detection here and logic. It might be worth adding debug statements in those areas on a reproducing device.

Putting as S3 since it currently seems like an intermittent issue.

Severity: -- → S3

I can confirm the problem. In my case, however, it has so far proved to be permanent. The observation period so far may be too short.

Motorola moto g34 5G
Android 14

137.0a1 (Build #2016073183), hg-321052fb2ab5+
GV: 137.0a1-20250211090130
AS: 137.20250208050325

Related to 1948445.

Product: Fenix → GeckoView
See Also: → 1948445
You need to log in before you can comment on or make changes to this bug.