i18n: add Ukrainian (uk) localization - #5911
Open
zerox9dev wants to merge 5 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
@zerox9dev is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
The parity test only collapsed _one/_other before comparing key sets, so locales using the full CLDR plural set (uk: _one/_few/_many/_other) had their _few/_many keys flagged as extra. Extend normalization to every plural category, matching the test's stated intent of comparing plural forms across differing pluralization systems.
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.
Summary
Adds full Ukrainian (
uk) localization for the app UI.ukacrosspackages/core/i18n(SupportedLocale + SUPPORTED_LOCALES) and the locale bundle inpackages/views/locales/index.tspackages/views/locales/uk/preferences-tab.tsx) with theУкраїнськаlabel in every locale'ssettings.jsonuk → uk-UAHTMLlangin web + desktop; landing pages and onboarding templates fall back toen(no incomplete dictionaries introduced)Localization details
{{placeholders}}preserved_one/_otherplural pair expanded to the four Ukrainian CLDR forms (one/few/many/other)squad → сквод,runtime → рантайм,workspace → робочий простір,skill → навичка,label → міткаVerification
pnpm typecheck— 6/6 packages, zero errors (typed i18next resource system confirms key parity)pick-localetests pass (incl. new uk/uk-UA cases)Known limitation
assign_count_pluralin the source uses a legacy 2-form plural that can't be fully grammatical in Ukrainian; a proper fix means migrating that key to_one/_few/_many/_otherin code — happy to do it in a follow-up if desired.