Translator: languages that fail to download are tried again

The first start tried the default languages once; a DNS failure at that
moment left them missing for good. Languages asked for are now kept as
pending in state.json and retried in the background (30 s, doubling to
15 min) until they are in, across restarts; an install from the admin
panel joins the same queue. A state from before this, with nothing
installed, counts as an unfinished first start. The admin panel shows
what is waiting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 22:21:38 +02:00
co-authored by Claude Opus 5.5
parent 972e10876b
commit 21cfaa07ed
7 changed files with 98 additions and 33 deletions
+1
View File
@@ -701,6 +701,7 @@ export const en = {
"admin.translationRemoveTitle": "Remove {language}?",
"admin.translationRemoveConfirm": "Its models are deleted. Mail in this language can no longer be translated until it is installed again.",
"admin.translationInstalling": "downloading… {percent}%",
"admin.translationPending": "Waiting to download: {languages}. Tried again in the background until the models can be fetched.",
"admin.translationFailed": "Installing {language} failed:",
"admin.translationChoose": "Add a language…",
"admin.translationInstall": "Install",