feat: add Ukrainian (uk-UA) localization#813
Open
oleksmaistrenko wants to merge 1 commit into
Open
Conversation
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).
2430810 to
a086713
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-IDpattern:uk-UAregistered inAPP_LOCALESandLOCALE_DEFINITIONS(src/lib/i18n.ts)uk-UAadded as a target inlara.yamllocale.ukUAlabel added to every catalogsrc/lib/locales/uk-UA.json— 804 keys, full parity withen.jsoni18n.test.tsassertions (display name + label)Decisions worth noting (so they aren't "corrected")
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 requiringIntl.PluralRules.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✅