Skip to content

feat(i18n): add Turkish localization to the web UI - #307

Open
fitzgpt wants to merge 1 commit into
tickernelz:mainfrom
fitzgpt:feat/i18n-turkish
Open

fitzgpt wants to merge 1 commit into
tickernelz:mainfrom
fitzgpt:feat/i18n-turkish

Conversation

@fitzgpt

@fitzgpt fitzgpt commented Sep 14, 2026

Copy link
Copy Markdown

Summary

Adds Turkish (tr) as a fourth UI language alongside English, Chinese, and Arabic.

  • Full Turkish dictionary in web/src/lib/i18n/translations.ts covering all 144 keys of the English source (verified programmatically: no missing or extra keys).
  • tr registered in LANGS and in the persisted-language validation in web/src/lib/i18n/index.ts, so it participates in the existing sidebar language cycle and persists via opencode-mem-lang.
  • Turkish is LTR, so no direction handling was needed; the existing ar RTL branch is untouched.
  • Tag option labels follow the zh pattern (özellik (feature)) so the stored technical tag values stay discoverable.

Validation

  • bun run typecheck (root) — passes.
  • cd web && bun run check (tsc -b) — passes.
  • cd web && bun run build — passes.
  • bunx prettier --check "web/src/lib/i18n/*.ts" — passes.
  • Key parity check: en 144 keys, tr 144 keys, zero diff.

The README does not enumerate UI languages, so no doc changes were needed.

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.

1 participant