Skip to content

chore(i18n): fill missing translations for enabled locales - #823

Merged
krokosik merged 1 commit into
mainfrom
chore/fill-missing-translations
Nov 29, 2026
Merged

krokosik merged 1 commit into
mainfrom
chore/fill-missing-translations

Conversation

@krokosik

Copy link
Copy Markdown
Collaborator

Summary

After the ICU migration (#801) and recent features, the enabled locales were missing many keys and still held obsolete ones. This PR fills every missing key in the 14 enabled locales and removes keys that are no longer in en.

Locales: de, fr, it, cs, nl, pl, pt-PT, pt-BR, sv, es, es-MX, es-AR, id, hu. Stub locales are untouched.

locale filled removed
de 72 33
fr 18 35 (+138 stale currency names)
it 47 41
cs 154 29
nl 92 32
pl 158 39
pt-PT 37 36 (+136 stale currency names)
pt-BR 158 30 (+138 stale currency names)
sv 152 30
es 182 30 (+138 stale currency names)
es-MX 199 34
es-AR 182 35
id 158 30
hu 18 35

How

  • Existing terminology and tone (formal or informal "you", es-AR voseo, pt-PT vs pt-BR vocabulary) are reused. Where an obsolete key had a community translation, its wording was carried into the new ICU message that replaces it.
  • Gender-neutral wording: user gender is unknown, so new strings avoid gendered past tenses, participle agreement and gendered person nouns. Examples: present tense or impersonal forms in pl/cs, "Te damos la bienvenida"-style phrasing in Romance languages, "Konto"/"Person" instead of "Benutzer".
  • Key order now matches en in every touched file, which is why the diffs are large.
  • A few existing strings were fixed:
    • errors.less_than was missing {size} in es, es-MX and es-AR.
    • pt-PT: the "Edited por" typo, and the you branch of expense_participant.gets and owes now conjugates for "Tu".
    • es-MX: account.messages.submit_* was updated to the current English meaning.

Source change

expense_participant.paid and received in en now carry an actor select. The English text is identical in both branches. ExpenseDetails already passes actor, so the change lets languages conjugate for "you". Without it, these strings rendered as "Du hat bezahlt", "Tu a payé" or "Tú pagó".

Tests

  • i18nFallback.test.ts relied on es-MX actions.next being an empty string. It now injects that through a fixture.

Verification

  • A custom checker confirms that every touched locale has 0 missing keys, 0 extra keys, valid ICU, and the same arguments, tags and select branches as en.
  • pnpm test passes (755 tests), and prettier --check public/locales is clean.

Before merging

  • Lock Weblate, or commit and merge its pending changes first, to avoid conflicts with this branch.
  • The strings were machine-translated. Native speakers should review them in Weblate, especially settlement.overpay_hint, settlement.no_open_balances and the fragment keys account.api_keys.description and docs_prefix.

Fill every missing key in de, fr, it, cs, nl, pl, pt-PT, pt-BR, sv, es,
es-MX, es-AR, id and hu after the ICU migration, remove keys that are no
longer in the English catalog, and align key order with en.

Add an actor select to expense_participant.paid/received so languages
that conjugate for "you" can do so; ExpenseDetails already passes actor.

Make the empty-string fallback test use a fixture instead of relying on
an untranslated es-MX string.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@krokosik
krokosik merged commit 0d7d5af into main Nov 29, 2026
8 of 9 checks passed
@krokosik
krokosik deleted the chore/fill-missing-translations branch November 29, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant