Open Bug 1832099 Opened 1 year ago Updated 1 year ago

Handle when the language files are deleted when there is an active TranslationsDocument

Categories

(Firefox :: Translations, task, P2)

task

Tracking

()

People

(Reporter: gregtatum, Unassigned)

References

Details

I'm not sure what the correct behavior is here, but we can get into a state where we delete the language files that are actively being used by a TranslationDocument.

We could either:

  1. Disallow deleting files that are being used.
  2. Show an error state in the popup panel if the language files are no longer available.
  3. Do nothing, and stop translating the page.

If we go with 2 then we should either:
A. Have a button to reload the page and try to translate again. (simpler)
B. Have a button to re-download the files, and re-initialize the engine. (more complex)

Blocks: 1837421
Summary: Handle when the language files are deleted when there is an active TranslationDocument → Handle when the language files are deleted when there is an active TranslationsDocument
No longer blocks: 1820214
No longer blocks: fx-translation
You need to log in before you can comment on or make changes to this bug.