Skip to content

feat(ui): add Turkish (tr) locale#355

Merged
geodro merged 1 commit into
geodro:mainfrom
erhanurgun:feat/i18n-turkish
May 15, 2026
Merged

feat(ui): add Turkish (tr) locale#355
geodro merged 1 commit into
geodro:mainfrom
erhanurgun:feat/i18n-turkish

Conversation

@erhanurgun
Copy link
Copy Markdown
Contributor

@erhanurgun erhanurgun commented May 15, 2026

What this adds

Türkçe (Turkish) as the eighth dashboard language.

Files

  • internal/ui/web/messages/tr.json (new). 620 strings, full coverage of en.json.
  • internal/ui/web/project.inlang/settings.json. "tr" added to the locales array.
  • internal/ui/web/src/stores/locale.ts. LOCALE_LABELS["tr"] = "Türkçe", LOCALE_CODES["tr"] = "TR".
  • internal/ui/web/src/lib/locales.test.ts. tr.json import, drift assertion, LOCALES.toContain('tr').

Translation choices

English Türkçe
Dashboard Pano
Service Servis
Worker, Worktree kept untranslated (Laravel and git jargon)
Horizon, Reverb, Stripe, FrankenPHP, Tinker, Mailpit, dnsmasq kept

All {placeholder} interpolations are preserved.

Verified

  • npm run i18n: 0 errors, 0 warnings
  • npm run check (svelte-check, strict TS): 0 errors, 0 warnings
  • npx vitest run src/lib/locales.test.ts: 15 / 15 passed

Open to wording changes if anything reads off in Türkçe.

Adds Türkçe to the dashboard languages alongside English, German,
Spanish, French, Indonesian, Dutch, Portuguese.

- messages/tr.json: 620 strings translated (full coverage)
- project.inlang/settings.json: tr in locales array
- src/stores/locale.ts: LOCALE_LABELS["tr"] = "Türkçe", LOCALE_CODES["tr"] = "TR"
- src/lib/locales.test.ts: tr import, key-drift assertion, LOCALES coverage

Glossary chosen for technical accuracy and Türkçe convention:
- Dashboard -> Pano
- Service -> Servis
- Worker, Worktree, Horizon, Reverb, Stripe, FrankenPHP, Tinker preserved as-is
@geodro
Copy link
Copy Markdown
Owner

geodro commented May 15, 2026

Thanks a lot for this, Erhan, really appreciate you taking the time to add Türkçe. Welcome aboard, will merge shortly.

@geodro geodro merged commit 4b70ade into geodro:main May 15, 2026
3 checks passed
@erhanurgun
Copy link
Copy Markdown
Contributor Author

erhanurgun commented May 15, 2026

Thanks for the quick merge. Honored to land a contribution on lerd, the cleanest local PHP environment I have run on Linux. I’m glad that Turkish has been included.

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