Skip to content

feat(i18n): add Turkish (tr-TR) translation#1767

Merged
danielroe merged 11 commits intonpmx-dev:mainfrom
mrnasil:add-turkish-translation
Mar 1, 2026
Merged

feat(i18n): add Turkish (tr-TR) translation#1767
danielroe merged 11 commits intonpmx-dev:mainfrom
mrnasil:add-turkish-translation

Conversation

@mrnasil
Copy link
Contributor

@mrnasil mrnasil commented Feb 28, 2026

Summary

Added Turkish (tr-TR) translation for npmx.dev

closes #1798

Changes

  • Created i18n/locales/tr-TR.json with complete Turkish translations
  • Added lunaria/files/tr-TR.json for translation tracking
  • Updated config/i18n.ts to enable Turkish locale

Translation Details

  • Used az-AZ.json (Azerbaijani Turkish) as reference
  • All schema requirements met
  • No duplicate keys or invalid properties
  • Total translations: ~800+ keys covering all UI elements

Checklist

  • Translation file follows schema
  • Lunaria tracking file added
  • i18n config updated
  • No duplicate keys
  • Conventional commit format used
  • JSON file is valid

@vercel
Copy link

vercel bot commented Feb 28, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Mar 1, 2026 9:57pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Mar 1, 2026 9:57pm
npmx-lunaria Ignored Ignored Mar 1, 2026 9:57pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

📝 Walkthrough

Walkthrough

This pull request adds Turkish language support to the application by registering a new tr-TR locale entry in the i18n configuration file and providing comprehensive Turkish translations across multiple UI sections. The changes include configuration updates to enable the new locale and two translation JSON files containing localised strings for various application features and components.

Possibly related PRs

Suggested reviewers

  • danielroe
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description clearly describes the Turkish locale addition, detailing the files created/modified and the scope of translations across ~800+ keys.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

github-actions bot commented Feb 28, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
lunaria/files/id-ID.json Localization removed, will be marked as missing.
lunaria/files/it-IT.json Localization removed, will be marked as missing.
lunaria/files/pl-PL.json Localization removed, will be marked as missing.
lunaria/files/pt-BR.json Localization removed, will be marked as missing.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@codecov
Copy link

codecov bot commented Feb 28, 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!

Comment on lines 290 to 309
{
code: 'fi',
file: 'fi.json',
name: 'Suomi',
},
{
code: 'gl-ES',
file: 'gl-ES.json',
name: 'Galego',
},
{
code: 'ko-KR',
file: 'ko-KR.json',
name: '한국어',
},*/,
{
code: 'id-ID',
file: 'id-ID.json',
name: 'Indonesia',
},
Copy link
Member

Choose a reason for hiding this comment

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

would you add these back (and also the contents of lunaria/files)? 🙏

@danielroe danielroe added this pull request to the merge queue Mar 1, 2026
@danielroe danielroe removed this pull request from the merge queue due to a manual request Mar 1, 2026
Co-authored-by: =?UTF-8?q?Kaz=C4=B1m=20=C3=96lmez?= <kazim-olmez@yandex.com>
@danielroe danielroe enabled auto-merge March 1, 2026 21:54
@danielroe danielroe added this pull request to the merge queue Mar 1, 2026
Merged via the queue into npmx-dev:main with commit 6ee0a4a Mar 1, 2026
19 checks passed
@github-actions
Copy link

github-actions bot commented Mar 1, 2026

Thanks for your first contribution, @mrnasil! 🎉

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