Skip to content

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

Open
mrnasil wants to merge 10 commits intonpmx-dev:mainfrom
mrnasil:add-turkish-translation
Open

feat(i18n): add Turkish (tr-TR) translation#1767
mrnasil wants to merge 10 commits intonpmx-dev:mainfrom
mrnasil:add-turkish-translation

Conversation

@mrnasil
Copy link

@mrnasil mrnasil commented Feb 28, 2026

Summary

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

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)
docs.npmx.dev Ready Ready Preview, Comment Mar 1, 2026 8:37pm
npmx.dev Ready Ready Preview, Comment Mar 1, 2026 8:37pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Mar 1, 2026 8:37pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 938fe6d and 0ca3b1a.

📒 Files selected for processing (2)
  • config/i18n.ts
  • lunaria/files/tr-TR.json
✅ Files skipped from review due to trivial changes (1)
  • lunaria/files/tr-TR.json

📝 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 outlines the addition of Turkish translation files and configuration updates, directly corresponding to the changeset.

✏️ 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)? 🙏

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