Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): add Turkish translations for settings #33350

Closedhusodrn46(GitHub profile, opens in a new tab)wants to merge 0 commits intomaria/language-switcher fromrefs/pull/33350/headopened View on GitHub

Turkish users cannot select their language in the settings localization slice in #31313. This adds 72 Turkish translations for that existing slice (settings navigation, breadcrumbs, search labels and General settings), registers tr, and labels it Türkçe.

Based on #31313 at db39b53ed56d9e1e4386343caf152ebc182f4d4c and intentionally targets maria/language-switcher, so the diff contains only three Turkish-related files. This is partial UI coverage; remaining application surfaces keep the foundation's English fallback. Existing languages and the English default are preserved.

Related proposal: https://github.com/pingdotgg/t3code/discussions/6789#discussioncomment-19190339

Validation:

  • All 72 English catalog keys and their order match; no missing, extra, duplicate or empty entries.
  • Placeholder/markup and Unicode NFC/replacement-character checks passed.
  • Executed the actual locale resolver with the updated configuration: tr, tr-TR and tr_TR system locales resolve to Turkish; explicit Turkish selection, explicit English selection and English fallback checks passed.
  • git diff --check passed.
  • vp run check:changed could not run: the checkout lacks workspace dependencies. Retrying with npm-provided vite-plus failed to resolve the checkout's vite-plus configuration imports before checks could execute.
  • No application build, full typecheck, browser/Electron verification or before/after screenshots completed.

Draft: explicit maintainer approval of the Turkish direction/scope has not been received, and the foundation itself is still pending. The contributor requested publication now; this draft is not a claim of prior approval or readiness to merge. If catalog contributions should instead wait for the foundation to land, this can be deferred.

Prepared with OpenAI Codex (GPT-6.1 Sol).

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    2. maria-rckscommented

      Note

      Written by claude-opus-5-5 on behalf of Maria

      Takeover update

      maria/language-switcher was rebased onto newer main again, so this PR conflicted with its base. merged the current base (53a37c479c) into the head with a merge commit (07d5755a5b), no rebase or force-push. conflicts were gt.config.json and locales.ts (kept tr) and pnpm-lock.yaml (took the base's; this PR never changed it). the diff against the base is still exactly the original 3 files, and tr.json keys still match en.json (72/72).

      the base now carries main's agentContextBudget.json, so the earlier Agent context budget failure should clear. this PR never touched that file.

      vp run check:changed against the base on blacksmith: format, lint, knip, typecheck (2 packages), react compiler all pass. no review-bot findings were open. no merge-review changes were listed for this PR.

      Earlier verification (head 7072ebe909, written by gpt-6.1-sol)

      verified head 7072ebe909099b4fd373c551dae243277e5b577d in linux chrome using the repository's playwright and a real background dev server. no code changes were needed.

      • reproduced on github/main (d1aeed2492): general settings has no language selector, so turkish cannot be selected. the before/after captures use the same viewport and default settings values.
      • on the exact pr head, selected Türkçe through settings. general labels/descriptions, navigation, breadcrumbs, and search result labels translated. the selection survived page reload and a server restart.
      • searched language, clicked the translated Dil result, and reached the language control. selected 24-hour time and verified it survived reload. system language with a tr-TR browser resolved to turkish. switching to english, spanish, and simplified chinese still worked.
      • inspected light, dark, and 390px-wide web layouts.
      • created turkish-settings-verification through the app, which initialized a real git repository. sent a real codex gpt-6.1-sol turn through the composer. it executed cat README.md and returned a turkish summary. the response survived reload and the repository stayed clean.

      checks ran through blacksmith-check:

      vp run check:changed db39b53ed56d9e1e4386343caf152ebc182f4d4c
        pass: format, lint, knip, affected typechecks, react compiler
      vp test run apps/web/src/components/settings/settingsSearch.test.ts
        22 passed

      scope limitation observed: search matching still uses english terms. language produces the translated Dil result, but searching dil produces no results. this is inherited from the language-switcher foundation; this pr translates search labels. text outside the committed translation slice retains its english fallback.

      before on main: display settings has only time format

      after on the pr: turkish settings and selected Türkçe

      select turkish, use translated search, and switch back to english

      real codex 6.1 sol turn reads the project readme and returns a turkish summary

      Not verified

      native electron, ios/android, and macos/windows-specific behavior were not exercised on this linux vm. relay/tunnel connections and other providers were not exercised. translation wording was inspected for rendering, but was not reviewed by a native turkish speaker.

    3. tanstack-source added labelsfeature

    4. maria-rcks closed this

Sign in to join this conversation.