Skip to content

feat(i18n): add Turkish (tr) translation for React UI and add-ons - #13519

Open
ozkanozcan wants to merge 1 commit into
mudler:masterfrom
ozkanozcan:feature/turkish-locale
Open

ozkanozcan wants to merge 1 commit into
mudler:masterfrom
ozkanozcan:feature/turkish-locale

Conversation

@ozkanozcan

@ozkanozcan ozkanozcan commented Nov 26, 2026 •

Copy link
Copy Markdown

Description

Adds Turkish (tr) to the React UI and the built-in add-ons.

  • core/http/react-ui/public/locales/tr/: all 31 namespaces.
  • *.tr.json for every add-on bundle (including the studio media mirror), a tr entry in the Tables add-on locales.js, and core/services/studio/connectortext/locales/tr.json.
  • tr is registered in SUPPORTED_LANGUAGES, in each add-on's locale map (registerLocales / locales objects), and in connectortext.Languages.
  • The tests that pin the language list or count are updated, and a tr-TR case is added to TestNegotiate.

Notes for Reviewers

  • Terminology follows common Turkish dev-tool usage: informal "sen" address, imperative button labels, and technical terms such as backend, worker, prompt and token kept in English. Strings never attach a Turkish suffix to a {{placeholder}}, because the right suffix depends on the runtime value.
  • Three strings in admin, agents and collections say "İnternet" instead of "Web", and two in pages say "Korumalı alan" instead of "Sandbox". This keeps them clear of the add-on names that providerstrings.test.mjs guards.
  • Checks run locally:
    • node addons/internal/i18ncheck/check.mjs passes for all languages, including tr.
    • go test -tags nosqlite,purego_utp ./core/services/studio/connectortext/ passes.
    • The add-on tests pass, and so do the React UI unit tests that read locale files: providerstrings, chatfailure, changeproposal and chategress.
  • Not run locally: npm ci for core/http/react-ui could not install in my environment, so I did not run eslint or the rest of the React UI unit tests.
  • The translation was produced with AI assistance (see the Assisted-by trailer). Key, placeholder and tag parity with English was checked for every file.

Signed commits

  • Yes, I signed my commits.
  • Documentation updated (docs/content/) for user-facing changes, or not applicable

🤖 Generated with Claude Code

Add Turkish locale files for every React UI namespace, every add-on
bundle (including the Tables add-on) and the studio connector texts,
and register `tr` in the language switcher, the add-on locale maps and
the connector text language list. Update the tests that pin the list
of languages.

Assisted-by: Claude:claude-opus-5-5

This branch has not been deployed

No deployments
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