Skip to content

i18n: translate new tr-TR keys and refresh outdated strings - #21496

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-new-keys
Oct 28, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-new-keys

Conversation

@bakiburakogun

Copy link
Copy Markdown
Contributor

Summary

84 keys in en.ts had no Turkish value, and seven existing strings no longer matched their English source after it was rewritten — two of them now said the opposite. 93 strings, one file.

New keys (84)

  • the Search1API search and crawl components (flow.search1API*, 12)
  • image OCR settings (flow.imageOcr*) and two related hints for the image text source and the vision-enhancement prompt (9)
  • the agentic chat mode — its settings tabs, template editor, decision model and the token and time counters — plus the Search1API option in chat settings (chat.*, 14)
  • file-type and parser-change messages shown when uploading and re-parsing (knowledgeDetails.*, knowledgeConfiguration.*, 14)
  • the personal webhook URL controls (flow.webhook.*, 11)
  • validation messages for agent nodes that can now be saved while incomplete (16)
  • the decision-model setting, the tag-file hint, Read-only, and Slovak / Czech in both language lists

chat.thinkingLevelAgentic and its description were part of #20215, but they are not in its merged result: the thinking-level keys they sat next to had been removed upstream in the meantime. They are added back here with the same wording.

Outdated strings (7)

  • flow.emailTip — the source went from "E-mail is a required field" to "E-mail is optional. If left empty, a default E-mail address is used for PubMed requests." The Turkish still said E-posta zorunlu bir alandır.
  • flow.checklistTitle — the source went from "Resolve the following issues before running or publishing" to "The following issues may affect running or publishing". The Turkish still told the user to fix them first.
  • knowledgeConfiguration.mineruFormulaEnableTip and mineruTableEnableTip, setting.google_driveMyDriveEmailsTip, flow.categorizeDescription and flow.messageHistoryWindowSizeTip were rewritten upstream; the Turkish described the old behaviour, or only the first sentence of it.

Two values still in English

  • setting.modelTypes.decision (Decision) → Karar.
  • knowledgeConfiguration.builtInSuffix still carried the old ' (built in)' form. parser-select now trims it and renders it as a separate tag — en has Built in, zh has 内置 — so it is now Yerleşik.

Terminology

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

  • parser → ayrıştırıcı, re-parse → yeniden ayrıştır, as in knowledgeDetails.fileTypeUnsupported; parsing method → ayrıştırma yöntemi, following Parçalama yöntemi for the old chunk method
  • pipeline → hat (Alım hattı), built-in → yerleşik, backend → arka uç (MinerU Arka Ucu), context → bağlam
  • the Search1API hint follows its Brave, Exa and Linkup siblings: …seçildiğinde, web arama sonuçları dataset alımını tamamlar.
  • crawl → tarama (Web taraması), endpoint → uç nokta, component → bileşen, passage → pasaj (as in the You.com description)
  • Auto-tags / Auto-question → Otomatik etiketler / Otomatik soru, Loop variables → Döngü değişkenleri, termination condition → sonlandırma koşulu, Data operations → Veri işlemleri
  • X is required → X zorunludur, as in Sürüm zorunludur; For details, see → Ayrıntılar için bkz.
  • Naive → Yalın, as in thinkingLevelNone
  • Slovak / Czech → Slovakça / Çekçe, the pattern of Felemenkçe

decision model had no precedent and is karar modeli. {{seconds}}s is {{seconds}} sn, and {{total}} tokens keeps token singular after the number.

Left in English on purpose: OCR, DeepDoc, PaddleOCR, Search1API, URL, the Web channel name, and Agentic, which stays the name of the mode as in #20215.

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, every {{placeholder}} matches its source, and the new keys sit in en.ts order. Apart from the nine strings above, no existing value was touched.

This follows #20215.

84 keys in en.ts had no Turkish value: Search1API search and crawl, image OCR settings, the agentic chat mode, parser-change warnings, webhook URLs and the validation messages for incomplete agent nodes. Seven strings whose English was rewritten are retranslated, two of which now said the opposite of their source, and two values still in English are translated.
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 48b33b7e-17ee-41f7-ada0-9d6f18a9f703
Commits

Reviewing files that changed from the base of the PR and between 82bd3b2 and 5e4544c.

Files selected for processing: 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; 9 remain after this review.

Walkthrough

The Turkish locale adds and revises UI text for parsing, retrieval, workflow validation, integrations, and shared labels. The changes update translations only; they do not change runtime logic.

Changes: Turkish locale

Layer / File(s) Summary
Upload, parsing, and indexing guidance
web/src/locales/tr.ts
Adds upload and reparse notices, parser labels, and MinerU guidance. Revises text about parser updates and Google Drive indexing.
Agent, retrieval, and search settings
web/src/locales/tr.ts
Adds or revises labels and guidance for agent settings, decision models, Search1API, image OCR, and message-history size.
Workflow validation and extraction
web/src/locales/tr.ts
Adds validation messages for workflow inputs and guidance for categorization and automatic tag extraction.
Integration credentials and shared labels
web/src/locales/tr.ts
Adds language names, API-key and webhook messages, and revises PubMed email guidance.

Priority: Low

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

Change: Other

Suggested reviewers: wangq8, yuzhichang, dcc123456

Merge Risk: Minimal · up to 5e454

No actionable merge-blocking risk is established for these translation-only changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description includes the required Summary section and clearly explains the purpose, scope, terminology, and reported checks for the Turkish locale updates.
Title check Passed The title is concise and accurately describes the Turkish translation additions and outdated-string updates.
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.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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 checks each label bright
New Turkish words are tucked in right
Parser notes and workflows grow
Search and OCR messages show
The bunny hops through strings with care

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

@JinHai-CN
JinHai-CN merged commit e7047b7 into infiniflow:main Oct 28, 2026
1 check passed
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.

3 participants