Skip to content

i18n: translate the tr-TR keys added since the last sync - #20215

Merged
JinHai-CN merged 2 commits into
infiniflow:mainfrom
bakiburakogun:fix/tr-document-node-labels
Oct 22, 2026
Merged

JinHai-CN merged 2 commits into
infiniflow:mainfrom
bakiburakogun:fix/tr-document-node-labels

Conversation

@bakiburakogun

@bakiburakogun bakiburakogun commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Eighteen keys added since the last sync had no Turkish value, so the document-generation node, the re-parse confirmation, the vision-enhancement toggle and the failover settings of the new agentic chat mode showed English inside an otherwise Turkish UI. 19 strings, one file.

  • the document node's page setup: headerText, footerText, contentPlaceholder, filenamePlaceholder
  • its validation messages: contentRequired, fontSizeMin
  • includeDownloadInfoInContent
  • knowledgeDetails.clearChunksReparseTip, the confirmation shown before clearing chunks to re-parse
  • flow.enableVisionEnhancement and its hint
  • the agentic chat mode from Port agentic RAG to Go, expose it as a chat mode, and add per-dialog failover #20503: chat.thinkingLevelAgentic, its description, and the six chat.failoverModels* strings

Terminology

Wherever the file already had a word, that word is used:

  • Header / Footer → Üst Bilgi / Alt Bilgi, as in flow.removeHeaderFooter (Üst bilgi ve alt bilgiyi kaldır) and setting.somark.keepHeaderFooter. The Başlık used elsewhere in the file is for HTTP headers, which is a different thing.
  • Content → İçerik, Filename → Dosya adı, Font size → Yazı tipi boyutu, matching the sibling fields in the same node (flow.content, flow.filename, flow.fontSize).
  • Font size must be at least 12 follows knowledgeConfiguration.frequencyMinMessage (Frekans en az {{min}} olmalıdır).
  • Are you sure …? follows the 22 other confirmations in the file, which all end in …emin misiniz?.
  • vision model → görsel model, block → blok, plain text → düz metin, all from knowledgeConfiguration.layoutRecognize's hint, which describes the same feature.
  • chunk → parça, re-parse → yeniden ayrıştır, as everywhere else.
  • Primary → Birincil, as in skills.metadata.primaryEnv and setting.dataSourceFieldPrimaryAdminEmail.
  • Tenant default → Kiracı varsayılanı, from setting.dataSourceFieldTenantId (Kiracı Kimliği) and chat.thinkingDefault (Sistem varsayılanı).
  • provider → sağlayıcı, Add a … model → … model ekle, as in chat.webSearchProvider and setting.addCustomModel.

Three choices had no precedent in the file:

  • Failover models and fallback model are both yedek model. The English uses the two words for the same list; zh.ts uses one (备用模型), and so does this.
  • Agentic is the name of the mode and stays as it is, like Ultra beside it and Self-RAG in the same section; zh.ts keeps it too. The hint calls its agent Agentic ajan.
  • corpus → derlem, the standard Turkish term.

One existing string

knowledgeCompilation.representationEmpty, updated in #20296, left pipeline in English: Pipeline derleyicisi yapılandırılmadı…. The file renders pipeline as hat in the four other places it appears — knowledgeConfiguration.dataFlowPlaceholder is Lütfen bir hat seçin. — so it now reads Hat derleyicisi yapılandırılmadı veya artifact çıkarılmadı.

The four header/footer and page-setup labels keep the Title Case their siblings use (Sayfa Boyutu, Yazı Tipi Ailesi, Üst Kenar Boşluğu); the validation messages are sentences, so they are not capitalised.

Checks

oxfmt --check src/locales/tr.ts passes against web/.oxfmtrc.json, the file parses, every key in en.ts now has a Turkish value, no key was removed, and apart from representationEmpty above no existing value was touched.

This follows #20004.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

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: 1ad442c8-3b6e-4c77-863e-3b487b23d487
📥 Commits

Reviewing files that changed from the base of the PR and between dce1b98 and 88ebc4d.

📒 Files selected for processing: 1
  • web/src/locales/tr.ts
🚧 Files skipped from review as they are similar to previous changes: 1
  • web/src/locales/tr.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

📝 Walkthrough

The Turkish locale adds text for chunk reparsing, vision enhancement, and document generation. It also changes wording in an artifact-representation warning.

Changes: Turkish locale

Layer / File(s) Summary
Reparse and artifact labels
web/src/locales/tr.ts
Adds a confirmation prompt before clearing chunks for reparsing. Changes “Pipeline” to “Hat” in an artifact-representation warning.
Vision enhancement labels
web/src/locales/tr.ts
Adds labels and help text for enabling vision enhancement on image and table blocks. States that disabled blocks are processed as plain text.
Document-generator labels
web/src/locales/tr.ts
Adds header and footer labels, download information, content and filename placeholders, and required-content and minimum-font-size validation messages.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 88ebc

No merge-blocking issue is identified in the Turkish text updates; merge after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: adding Turkish translations for keys added since the previous synchronization.
Description check Passed The description includes the required Summary section and provides clear background, scope, affected translation keys, terminology decisions, validation details, and related PR context.
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.
Full details: Docstring Coverage

Explanation

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 files.

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 the Turkish lines,
New prompts and labels neatly shine.
Chunks pause before they start anew,
Images gain a vision cue.
Headers, footers, forms now show,
The rabbit hops through words in tow.

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

@bakiburakogun
bakiburakogun force-pushed the fix/tr-document-node-labels branch 2 times, most recently from 17293a3 to acb452f Compare September 30, 2026 08:39
Eighteen keys added since the last sync had no Turkish value, so the document-generation node, the re-parse confirmation, the vision-enhancement toggle and the failover settings of the agentic chat mode rendered in English. Also renders pipeline as hat in knowledgeCompilation.representationEmpty, as the rest of the file does.
@bakiburakogun
bakiburakogun force-pushed the fix/tr-document-node-labels branch from acb452f to dce1b98 Compare October 6, 2026 12:08
@bakiburakogun bakiburakogun changed the title i18n: translate the document node labels in tr-TR i18n: translate the tr-TR keys added since the last sync Oct 6, 2026
@JinHai-CN
JinHai-CN requested a review from cike8899 October 22, 2026 06:35
@cike8899 cike8899 added the ci Continue Integration label Oct 22, 2026
@JinHai-CN
JinHai-CN merged commit 52bf28b into infiniflow:main Oct 22, 2026
6 checks passed
JinHai-CN pushed a commit that referenced this pull request Oct 28, 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.

3 participants