Skip to content

i18n: sync tr-TR with recent en changes - #20004

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-en-changes
Sep 24, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-en-changes

Conversation

@bakiburakogun

@bakiburakogun bakiburakogun commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Recent changes to en.ts left web/src/locales/tr.ts behind in three ways. This brings it back in line. 44 strings, one file.

1. Placeholders the code no longer passes

Four save-validation messages dropped their {{name}} in English — "Cannot save: "{{name}}" has no model selected…" became "No model selected, please choose one first" — but the Turkish still contained "{{name}}". Since the caller no longer supplies name, those four messages would show a literal {{name}} to the user.

  • flow.nodeFormInvalid
  • flow.agentModelMissing
  • flow.retrievalDatasetMissing
  • flow.retrievalMemoryMissing

After this, every {{variable}} in tr.ts matches en.ts across the whole file, not only the keys touched here.

2. Missing keys

35 keys had no Turkish value:

  • the new Zotero data source — 17 keys covering the connector description, the user ID and API key fields, and the WebDAV attachment-storage options with their hints and validation messages
  • the workflow checklist (checklist, checklistTitle, issueNotConnected, issueVariableInvalid, …), memoryUnavailable, compilationTemplateUnavailable, checkingEmbedding, tool, noConfigChunkerHint, and the six chunker descriptions
  • flow.extractorModelMissing, which has the same English as flow.agentModelMissing and reuses its Turkish verbatim

3. Source text that changed meaning

Five translations were written against English that has since been reworded, so they now say something different from the UI they sit in:

key English is now Turkish said
common.modelUnavailable unavailable (deleted or no permission) the model was deleted
chat.datasetUnavailable the selected dataset the selected knowledge base
knowledgeConfiguration.dataPipeline select or switch the parsing mode change or configure the ingestion pipeline
flow.messageMsg message cannot be empty enter a message or delete this field
flow.retrievalTemplateDatasetHint steps without a bound dataset dataset steps without a bound knowledge base

retrievalTemplateDatasetHint now follows its sibling retrievalTemplateMemoryHint, which the English was rewritten to mirror.

Terminology

Every term is the one the file already uses:

  • Chunker → Parçalayıcı, as in tokenChunker / titleChunker
  • Parser → Ayrıştırıcı, Parse mode → Ayrıştırma türü
  • Operator → Operatör (6 of 6), Issue → sorun (6 of 6), Step → adım (8 of 8)
  • Tool → Araç, matching flow.tools → Araçlar
  • Unavailable → kullanılamıyor, Built-in → Yerleşik
  • Sync → senkronize (42 of 61; the rest use eşitle), Password → şifre (30 of 30), Library → kitaplık (11 of 11), Endpoint → uç nokta, Basic authentication → temel kimlik doğrulama
  • Attachment storage → Ek dosya depolaması rather than Ek depolama, which in Turkish would read as "additional storage"
  • Dataset, Embedding and WebDAV stay untranslated, as elsewhere in the file

Left as they are

chat.systemPlaceholder and chat.systemInitialValue are system prompts sent to the model. Their English changed "knowledge base" to "dataset", but the Turkish prompt is still correct and I did not want to rewrite a prompt for wording alone. setting.rssDescription already said dataset, and knowledgeCompilation.compilationTitleSuffix only lost a stray apostrophe in English.

Checks

oxfmt --check src/locales/tr.ts passes against web/.oxfmtrc.json, the file parses, no key was removed, every URL in the Zotero hints is kept verbatim, and the diff touches only the 44 keys above.

This follows #19891.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7f85a9b1-35bd-4462-9f22-2c51ac2e0e05

📥 Commits

Reviewing files that changed from the base of the PR and between c518117 and 53b61b4.

📒 Files selected for processing (1)
  • web/src/locales/tr.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Turkish locale updates availability and dataset terminology. It adds knowledge-configuration and Zotero messages, and expands flow labels and validation messages.

Changes

Turkish locale updates

Layer / File(s) Summary
Availability and terminology messages
web/src/locales/tr.ts
Availability messages now include deleted or permission-related states. Chat text uses dataset terminology.
Knowledge configuration messages
web/src/locales/tr.ts
The locale adds parsing, chunking, embedding compatibility, and operator availability messages.
Zotero connector messages
web/src/locales/tr.ts
The locale adds labels, tips, and required-field messages for Zotero credentials and cloud or WebDAV storage.
Flow labels and validation messages
web/src/locales/tr.ts
The locale adds tool, checklist, issue, memory, and chunker messages. Existing flow validation messages are simplified.

Priority: ⚪ Not assessed

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: wangq8

Merge Risk: ⚪ Minimal · up to 53b61

The Turkish localization update is mergeable after normal checks; no actionable issue is established.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that the Turkish locale is synchronized with recent English localization changes. It is concise and accurately describes the main change.
Description check ✅ Passed The description uses the required Summary heading and clearly explains the purpose, scope, affected keys, terminology decisions, exclusions, and validation checks. It provides sufficient context for r…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit reads each Turkish line,
New flow words fall in place just fine.
Zotero gets its labels clear,
Chunkers get descriptions here.
The dataset words now hop along,
And checklist messages join the song.

Comment @coderabbitai help to get the list of available commands.

Four save-validation messages dropped {{name}} in English but the Turkish still referenced it, so the UI would render a literal {{name}}. Also adds 35 keys that had no Turkish value, including the new Zotero data source, and updates five translations whose English source was reworded.
@JinHai-CN JinHai-CN added the ci Continue Integration label Sep 23, 2026
@JinHai-CN
JinHai-CN merged commit 628a5cb into infiniflow:main Sep 24, 2026
11 checks passed
JinHai-CN pushed a commit that referenced this pull request Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants