Skip to content

Locale files drift from en: 23 i18n-json/identical-keys warnings #1871

Open

Description

@Wikid82

What: eslint reports 23 i18n-json/identical-keys warnings: many non-English locales (e.g. af) are missing whole blocks present in en, such as crowdsec.errors. The rule is intentionally a warning because i18next falls back to en, but the drift keeps growing.

Where: frontend/src/locales//translation.json (af, ar, ca, cs, da, el, fi, he, hu, it, ja, ko, nl, no, pl, pt, ro, ru, sr, sv, tr, uk, vi); rule configured at frontend/eslint.config. ~L306

Severity: low

Suggested approach: Backfill missing keys with the English text (or real translations) via a script, or add a locale-sync check to CI.

Found while committing the Orthrus privilege-drop change (branch fix/orthrus-non-root).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

  • Status
    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions