Skip to content

feat(i18n): add Uzbek (Latin) locale#2491

Open
uchkunr wants to merge 1 commit intonpmx-dev:mainfrom
uchkunr:feat/i18n-uzbek-locale
Open

feat(i18n): add Uzbek (Latin) locale#2491
uchkunr wants to merge 1 commit intonpmx-dev:mainfrom
uchkunr:feat/i18n-uzbek-locale

Conversation

@uchkunr
Copy link
Copy Markdown

@uchkunr uchkunr commented Apr 12, 2026

🧭 Context

Uzbek is one of the widely spoken Turkic languages (~35M speakers), and there was no Uzbek locale in npmx yet. This PR adds Uzbek (Latin script) - the primary writing system used in Uzbekistan.

📚 Description

Adds uz-Latn-UZ locale:

  • New file i18n/locales/uz-Latn-UZ.json with all 1254 keys translated to Uzbek (Latin script, modern O'zbek Lotin alifbosi)
  • Registered in config/i18n.ts as Oʻzbekcha

Notes:

  • Uses modifier letter turned comma (U+02BB) for / per modern Uzbek orthography
  • Technical terms kept in English where industry-standard (npm, JSON, CLI, provenance, semver, peer, scope, etc.)
  • Tailwind color names (Sky, Coral, Amber, Stone, Zinc, Slate...) kept in English for palette consistency
  • No custom pluralRule needed - Uzbek uses other-only pluralization (like Turkish)
  • No RTL - Latin script, standard LTR
  • i18n:check passes with no missing keys

Only uz-Latn-UZ is added in this PR. Cyrillic variant (uz-Cyrl-UZ) can follow later if there is community interest.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Apr 12, 2026 2:58pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Apr 12, 2026 2:58pm
npmx-lunaria Ignored Ignored Apr 12, 2026 2:58pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 52342a9d-82d0-468e-b7cb-6a6a4b792ee8

📥 Commits

Reviewing files that changed from the base of the PR and between a1f6487 and 95ef6b4.

📒 Files selected for processing (2)
  • config/i18n.ts
  • i18n/locales/uz-Latn-UZ.json

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added support for Uzbek (Latin) language, enabling users to access the application interface with complete translations in this locale.

Walkthrough

Added support for Uzbek (Latin script) locale by introducing a new locale entry in the i18n configuration and creating a comprehensive translation file. The changes enable the application to serve all user interface strings in Uzbek, including SEO metadata, navigation elements, settings, and other interface components.

Changes

Cohort / File(s) Summary
Internationalisation Configuration
config/i18n.ts
Added new locale entry for uz-Latn-UZ with display name "Oʻzbekcha", which triggers generation of corresponding currentLocales, datetimeFormats, numberFormats, and pluralRules entries.
Uzbek (Latin) Translation Catalogue
i18n/locales/uz-Latn-UZ.json
New translation file containing 1651 lines of localised UI strings covering SEO metadata, navigation, search, settings, profile pages, authentication flows, privacy policy, accessibility labels, and miscellaneous interface elements with template placeholders.

Possibly related PRs

Suggested reviewers

  • danielroe
  • ghostdevv
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding Uzbek (Latin) locale support to the project.
Description check ✅ Passed The description is directly related to the changeset, providing context about why Uzbek locale was added, technical details about the implementation, and noting the i18n:check validation passed.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Hello! Thank you for opening your first PR to npmx, @uchkunrakhimow! 🚀

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any issues you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Vercel

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

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