Alert on Forgejo "Missing translation" — English falls back to Swedish #335

Öppen
öppnade 2026-08-02 12:30:48 +00:00 av supernaut · 0 kommentarer
Ägare

[i18n] LANGS = sv-SE, en-US makes Swedish the default language of Forgejo's translation store
(the first entry wins). The store falls back to the default language for any key missing from
the requested locale, so a string that exists in Swedish but not in English would be shown in
Swedish to an English reader — the failure mode is silent in the UI but always logged as
Missing translation "<key>".

This is not firing today: the log store has zero matches over the last 14 days. That makes it a
cheap guard to add before an upgrade introduces one.

Proposal: a log-store alert rule on the Forgejo unit for Missing translation, warning
severity, with a short window. Not urgent, and no configuration change to LANGS is wanted —
Swedish first is deliberate (ADR 0010).

Part of gitborg/gitborg-docs#70.

`[i18n] LANGS = sv-SE, en-US` makes Swedish the default language of Forgejo's translation store (the first entry wins). The store falls back to the default language for any key missing from the requested locale, so a string that exists in Swedish but not in English would be shown in **Swedish** to an English reader — the failure mode is silent in the UI but always logged as `Missing translation "<key>"`. This is not firing today: the log store has zero matches over the last 14 days. That makes it a cheap guard to add before an upgrade introduces one. **Proposal:** a log-store alert rule on the Forgejo unit for `Missing translation`, warning severity, with a short window. Not urgent, and no configuration change to `LANGS` is wanted — Swedish first is deliberate (ADR 0010). Part of gitborg/gitborg-docs#70.
Logga in för att delta i denna konversation.
Ingen milstolpe
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra#335
Ingen beskrivning angiven.