Skip to content

feat: add Ukrainian (uk-UA) localization#813

Open
oleksmaistrenko wants to merge 1 commit into
refactoringhq:mainfrom
oleksmaistrenko:feat/add-ukrainian-locale
Open

feat: add Ukrainian (uk-UA) localization#813
oleksmaistrenko wants to merge 1 commit into
refactoringhq:mainfrom
oleksmaistrenko:feat/add-ukrainian-locale

Conversation

@oleksmaistrenko

@oleksmaistrenko oleksmaistrenko commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

I started using Tolaria and noticed that, while a number of languages are supported, my native language was missing. This PR adds Ukrainian (uk-UA) localization.

The translation has been done with AI and verified manually.

What's included

Follows the existing id-ID pattern:

  • uk-UA registered in APP_LOCALES and LOCALE_DEFINITIONS (src/lib/i18n.ts)
  • uk-UA added as a target in lara.yaml
  • locale.ukUA label added to every catalog
  • A full src/lib/locales/uk-UA.json — 804 keys, full parity with en.json
  • Added i18n.test.ts assertions (display name + label)

Decisions worth noting (so they aren't "corrected")

  • Count-sensitive strings (status.remote.aheadTitle/behindTitle, status.conflict.count, Pulse commit counts) are phrased count-neutral. The runtime strips {plural} for non-English locales, and Ukrainian needs three plural forms — neutral phrasing avoids grammatically wrong output without requiring Intl.PluralRules.
  • "Tolaria AI" is kept as a brand (matching ru-RU/pl-PL); ШІ is used for generic AI references.

Validation

  • pnpm l10n:validate ✅ — key + placeholder parity across all 19 catalogs (804 keys)
  • i18n.test.ts
  • tsc --noEmit ✅ · pnpm lint

@oleksmaistrenko oleksmaistrenko marked this pull request as draft June 5, 2026 09:01
Add uk-UA to the locale matrix following the id-ID pattern: register it in
APP_LOCALES and LOCALE_DEFINITIONS, add the lara.yaml target, the locale.ukUA
label across all catalogs, and a full uk-UA.json translation (804 keys).
@oleksmaistrenko oleksmaistrenko force-pushed the feat/add-ukrainian-locale branch from 2430810 to a086713 Compare June 6, 2026 14:55
@oleksmaistrenko oleksmaistrenko marked this pull request as ready for review June 6, 2026 15:01
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