mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-09 07:05:51 +08:00
feat(i18n): add Turkish (tr) language support (#678)
* feat(i18n): add Turkish (tr) language support Add comprehensive Turkish localization for the UI, following the existing i18n pattern established by Japanese (#384), Russian (#514), and German (#525) language support. Changes: - Add Turkish translation files for all 7 namespaces (auth, chat, codeEditor, common, settings, sidebar, tasks) - Register Turkish locale in config.js with all resources - Add Turkish entry to languages.js (value: tr, nativeName: Türkçe) - Update .gitignore to allow src/i18n/locales/tr/tasks.json (matches existing en/ja/ru/de exceptions) Translation details: - 934 total strings translated (100% coverage, matches en.json key count) - Translated by a native Turkish speaker with software engineering background; terminology reviewed against conventional Turkish tech community usage. - Technical terms kept in English per Turkish dev community norms: Claude, Cursor, Codex, Gemini, CLI, MCP, PRD, JSON, YAML, stdio, http, commit, branch, token, prompt, minimap, sandbox, YOLO. - Informal second-person singular (\"sen\") used throughout — fits the developer-facing nature of the UI. - All interpolation placeholders preserved exactly (e.g. {{count}}, {{projectName}}, {{email}}). - i18next plural keys (_one/_other) kept intact. Verification: - Key structure parity with en.json confirmed (jq paths diff empty) - All 38 unique interpolation variables preserved - npm run build passes cleanly * docs(readme): add Turkish README and language switcher links Add README.tr.md — full Turkish translation of the main README, following the structure of existing README.de.md / README.ja.md / README.ko.md / README.ru.md / README.zh-CN.md. Update the language switcher row in all 6 existing README variants to include a Turkish link (matches the pattern used by #534 for the German language link addition). --------- Co-authored-by: Simos Mikelatos <simosmik@gmail.com>
This commit is contained in:
@@ -67,6 +67,14 @@ import deCodeEditor from './locales/de/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import deTasks from './locales/de/tasks.json';
|
||||
|
||||
import trCommon from './locales/tr/common.json';
|
||||
import trSettings from './locales/tr/settings.json';
|
||||
import trAuth from './locales/tr/auth.json';
|
||||
import trSidebar from './locales/tr/sidebar.json';
|
||||
import trChat from './locales/tr/chat.json';
|
||||
import trCodeEditor from './locales/tr/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import trTasks from './locales/tr/tasks.json';
|
||||
import itCommon from './locales/it/common.json';
|
||||
import itSettings from './locales/it/settings.json';
|
||||
import itAuth from './locales/it/auth.json';
|
||||
@@ -152,6 +160,14 @@ i18n
|
||||
codeEditor: deCodeEditor,
|
||||
tasks: deTasks,
|
||||
},
|
||||
tr: {
|
||||
common: trCommon,
|
||||
settings: trSettings,
|
||||
auth: trAuth,
|
||||
sidebar: trSidebar,
|
||||
chat: trChat,
|
||||
codeEditor: trCodeEditor,
|
||||
tasks: trTasks,
|
||||
it: {
|
||||
common: itCommon,
|
||||
settings: itSettings,
|
||||
|
||||
Reference in New Issue
Block a user