Skip to content

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

Open
uchkunr wants to merge 2 commits into
npmx-dev:mainfrom
uchkunr:feat/i18n-uzbek-locale
Open

feat(i18n): add Uzbek (Latin) locale#2491
uchkunr wants to merge 2 commits into
npmx-dev:mainfrom
uchkunr:feat/i18n-uzbek-locale

Conversation

@uchkunr

@uchkunr uchkunr commented Apr 12, 2026

Copy link
Copy Markdown

🧭 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

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
docs.npmx.dev Building Building Preview, Comment Jul 29, 2026 11:10am
npmx.dev Ready Ready Preview, Comment Jul 29, 2026 11:10am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Jul 29, 2026 11:10am

Request Review

@coderabbitai

coderabbitai Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d11f84b3-f34b-402c-a208-87e2dbdc2b99

📥 Commits

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

📒 Files selected for processing (1)
  • i18n/locales/uz-Latn-UZ.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • 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.
  • Localization
    • Updated the available locale set to include Uzbek (Latin), bringing locale-specific date/time, number formatting, and pluralization rules.

Walkthrough

Added a complete Uzbek (Latin) translation catalogue covering core application UI, package and administrative features, authentication, comparison views, policy pages, accessibility content, translation status, and branding interfaces.

Changes

Uzbek locale catalogue

Layer / File(s) Summary
Core interface translations
i18n/locales/uz-Latn-UZ.json
Adds Uzbek strings for SEO, navigation, search, commands, settings, common components, profiles, and package pages.
Operations and content translations
i18n/locales/uz-Latn-UZ.json
Adds translations for connectors, administration, organisations, package claiming, code viewing, badges, filters, about, authentication, comparison, and PDS interfaces.
Policy and branding translations
i18n/locales/uz-Latn-UZ.json
Adds translations for privacy, accessibility, translation status, vacations, action bar, logos, brand resources, and changelog interfaces.

Suggested reviewers: ghostdevv

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: adding the Uzbek (Latin) locale.
Description check ✅ Passed The description is directly related and accurately describes the locale addition and implementation details.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ 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.

@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

codecov Bot commented Apr 12, 2026

Copy link
Copy Markdown

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!

@serhalp serhalp added the i18n Related to internationalization label Apr 12, 2026
@serhalp
serhalp requested a review from Copilot April 12, 2026 21:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Uzbek (Latin, Uzbekistan) translations to the app and registers the new locale so it can be selected in the UI.

Changes:

  • Added full uz-Latn-UZ translation JSON for the UI strings.
  • Registered uz-Latn-UZ in the i18n locale configuration.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
i18n/locales/uz-Latn-UZ.json New Uzbek (Latin) locale strings for the UI.
config/i18n.ts Registers the new uz-Latn-UZ locale for selection/use.

Comment on lines +496 to +497
"description_to_none_provenance": "Ushbu versiya {provenance} siz nashr etilgan.",
"description_to_none_trustedPublisher": "Ushbu versiya {trustedPublishing} siz nashr etilgan.",

Copilot AI Apr 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description_to_none_provenance / description_to_none_trustedPublisher currently read as "{…} siz". In Uzbek, standalone "siz" means "you" (the "-siz" suffix means "without"), so this ends up changing the meaning compared to the source string ("published without …"). Please adjust these translations to clearly convey "without {provenance}" / "without {trustedPublishing}" and avoid the standalone "siz" word.

Suggested change
"description_to_none_provenance": "Ushbu versiya {provenance} siz nashr etilgan.",
"description_to_none_trustedPublisher": "Ushbu versiya {trustedPublishing} siz nashr etilgan.",
"description_to_none_provenance": "Ushbu versiya {provenance} holda nashr etilmagan.",
"description_to_none_trustedPublisher": "Ushbu versiya {trustedPublishing} holda nashr etilmagan.",

Copilot uses AI. Check for mistakes.

@serhalp serhalp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @uchkunr! Sorry for the AI review, but since we don't have Uzbek speakers on the team it helps us validate a bit.

@h4z5l

h4z5l commented Apr 23, 2026

Copy link
Copy Markdown

nice!

@gameroman gameroman added the needs review This PR is waiting for a review from a maintainer label May 19, 2026
@github-actions github-actions Bot added stale This has become stale and may be closed soon and removed stale This has become stale and may be closed soon labels Jun 19, 2026
@github-actions github-actions Bot added the stale This has become stale and may be closed soon label Jul 21, 2026
@github-actions github-actions Bot closed this Jul 29, 2026
@gameroman gameroman reopened this Jul 29, 2026
@gameroman gameroman removed stale This has become stale and may be closed soon stale-to-close labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Related to internationalization needs review This PR is waiting for a review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants