Skip to content

feat(i18n): add Serbian Latin (sr-Latn-RS) translations#2317

Merged
ghostdevv merged 5 commits intonpmx-dev:mainfrom
miljkovic5:feature/serbian-translation
Apr 4, 2026
Merged

feat(i18n): add Serbian Latin (sr-Latn-RS) translations#2317
ghostdevv merged 5 commits intonpmx-dev:mainfrom
miljkovic5:feature/serbian-translation

Conversation

@miljkovic5
Copy link
Copy Markdown
Contributor

🔗 Linked issue

/

🧭 Context

Adds a full Serbian (Latin script) translation for sr-Latn-RS.
All 1522 translation keys are covered.

📚 Description

This PR adds a complete Serbian (Latin) translation for the sr-Latn-RS locale.

What's included

  • Full translation of all UI strings, error messages, SEO metadata,
    accessibility labels, blog, settings, package pages, compare, and legal pages
  • Correct 3-form plurals for all applicable keys
  • Serbian pangram for the typography preview:
    "Ljubazni fenjerdžija čađavog lica hoće da mi pokaže štos."

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

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

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Apr 4, 2026 10:21am
npmx.dev Ready Ready Preview, Comment Apr 4, 2026 10:21am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Apr 4, 2026 10:21am

Request Review

@github-actions
Copy link
Copy Markdown

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

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.

@miljkovic5 miljkovic5 changed the title feat: Add Serbian Latin (sr-Latn-RS) localization feat: add Serbian Latin (sr-Latn-RS) localization Mar 29, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bafe8284-5cb8-4f73-9d44-5e98398297b5

📥 Commits

Reviewing files that changed from the base of the PR and between e791066 and ffa1cd9.

📒 Files selected for processing (2)
  • config/i18n.ts
  • i18n/locales/sr-Latn-RS.json
✅ Files skipped from review due to trivial changes (2)
  • config/i18n.ts
  • i18n/locales/sr-Latn-RS.json

📝 Walkthrough

Walkthrough

This PR registers a new locale sr-Latn-RS in config/i18n.ts, including a custom pluralRule mapping and adds the translation catalogue i18n/locales/sr-Latn-RS.json (~1519 lines). The change ensures sr-Latn-RS is included in the built currentLocales, and entries for datetimeFormats, numberFormats and pluralRules are generated/added during locale build steps.

Possibly related PRs

Suggested reviewers

  • danielroe
  • ghostdevv
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description clearly describes the addition of a complete Serbian (Latin) translation covering all 1,522 translation keys with proper plurals and a pangram.

✏️ 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.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 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!

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0fbabdcb-22ed-4590-a086-9707dfec43d3

📥 Commits

Reviewing files that changed from the base of the PR and between e2a7b59 and 3eb3798.

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

Copy link
Copy Markdown
Contributor

@ghostdevv ghostdevv left a comment

Choose a reason for hiding this comment

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

amazing, ty!

@ghostdevv ghostdevv enabled auto-merge April 4, 2026 10:17
@ghostdevv ghostdevv disabled auto-merge April 4, 2026 10:17
@ghostdevv ghostdevv changed the title feat: add Serbian Latin (sr-Latn-RS) localization feat(i18n): add Serbian Latin (sr-Latn-RS) translations Apr 4, 2026
@ghostdevv ghostdevv enabled auto-merge April 4, 2026 10:19
@ghostdevv ghostdevv added this pull request to the merge queue Apr 4, 2026
Merged via the queue into npmx-dev:main with commit 06d1eb0 Apr 4, 2026
19 of 20 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 4, 2026

Thanks for your first contribution, @miljkovic5! 💫

We'd love to welcome you to the npmx community. Come and say hi on Discord! And once you've joined, visit npmx.wamellow.com to claim the contributor role.

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.

2 participants