monitoring: Forgejo v17 adds sv-SE keys without translations #714

Stängd
öppnade 2026-10-13 09:27:53 +00:00 av supernaut · 2 kommentarer
Ägare

ForgejoMissingTranslation matches Missing translation for key in the Forgejo log, excluding relativetime.*. Forgejo v17 adds 17 locale keys that have no sv-SE string yet (webhook settings, org invite, composer and npm package pages, projects). sv-SE is our default language, so the alert will fire after the upgrade.

Options:

  1. Exclude the known v17 keys in the Loki rule until upstream translates them.
  2. Ship the Swedish strings as a custom locale under custom/options/locale/.
  • Pick an option and implement it before the upgrade.
  • List the exact keys from the v17 tag (the branch tip may still change).
`ForgejoMissingTranslation` matches `Missing translation for key` in the Forgejo log, excluding `relativetime.*`. Forgejo v17 adds 17 locale keys that have no sv-SE string yet (webhook settings, org invite, composer and npm package pages, projects). sv-SE is our default language, so the alert will fire after the upgrade. Options: 1. Exclude the known v17 keys in the Loki rule until upstream translates them. 2. Ship the Swedish strings as a custom locale under `custom/options/locale/`. - [ ] Pick an option and implement it before the upgrade. - [ ] List the exact keys from the v17 tag (the branch tip may still change).
Upphovsperson
Ägare

Forgejo v17.0.0 is now live on prod and staging (2026-10-17). It adds about 17 locale keys with no sv-SE string. Still open.

Forgejo v17.0.0 is now live on prod and staging (2026-10-17). It adds about 17 locale keys with no sv-SE string. Still open.
Upphovsperson
Ägare

Not reproducible on v17.0.0. At the v17.0.0 tag, sv-SE has every en-US key, in both options/locale/*.ini and options/locale_next/*.json. Loki logged 0 missing-translation lines outside relativetime.* in the 24 h after the upgrade, and ForgejoMissingTranslation is silent. The 17 keys most likely came from a dev branch before the translations landed.

Excluding keys up front would hide real gaps. If the alert fires, the log line names the key, and the exclusion is a small change to loki-alert-rules.yml.j2 plus a case in scripts/test-alert-rules.py. Reopen then.

Not reproducible on v17.0.0. At the `v17.0.0` tag, sv-SE has every en-US key, in both `options/locale/*.ini` and `options/locale_next/*.json`. Loki logged 0 missing-translation lines outside `relativetime.*` in the 24 h after the upgrade, and `ForgejoMissingTranslation` is silent. The 17 keys most likely came from a dev branch before the translations landed. Excluding keys up front would hide real gaps. If the alert fires, the log line names the key, and the exclusion is a small change to `loki-alert-rules.yml.j2` plus a case in `scripts/test-alert-rules.py`. Reopen then.
supernaut 2026-10-17 21:22:07 +00:00
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#714
Ingen beskrivning angiven.