Open Bug 1940544 Opened 5 months ago Updated 4 months ago

The downloaded languages list should update after a translation occurs or just before showing the list to the user

Categories

(GeckoView :: Translations, defect)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce

  1. Delete or else ensure no languages are downloaded (Browser Menu -> Settings -> Translations -> Download Languages)
  2. Perform a translation on a language that is not downloaded
  3. Open the downloaded language list again (Browser Menu -> Settings -> Translations -> Download Languages)
  4. Notice the language isn't in the list
  • Perform a download on any language, notice the expected languages will sync back in

Expected behavior

Downloaded language list should be re-synced after a translation occurs.

Actual behavior

Downloaded language list is not re-synced after a translation occurs.

s3 since it resyncs on certain events (workaround exists and the incorrect state is temporary), but it should be syncing after a translation.

Likely fix is to call requestLanguageModels or use TranslationsAction.OperationRequestedAction w/TranslationOperation.FETCH_LANGUAGE_MODELS to refresh the models.

I don't recall a way to know if the backend ended up downloading the model for translation or not, so we might have to premtively refresh when the settings page is opened.

Severity: -- → S3
Blocks: 1909674
Summary: The downloaded languages list should update after a translation occurs → The downloaded languages list should update after a translation occurs or just before showing the list to the user
See Also: → 1944086
Product: Fenix → GeckoView
You need to log in before you can comment on or make changes to this bug.