Repository navigation
Docs: internationalize master - #124860
Conversation
|
🔄 Updating to match commit Files:
|
|
Workflow [PR], commit [2d02bb0] Summary: ✅ AI ReviewSummaryThis PR mass-localizes a very large slice of the docs and rewrites many localized headings and internal links. The current head still leaves several user-visible localization regressions in place: some localized pages still jump back to English docs, multiple translated target pages lost stable fragment IDs that other localized pages now link to, and the localized async-insert snippet still renders duplicate anchors. I reopened two previously resolved bot threads and added one new inline finding; I would keep the PR open until the localized link graph is consistent. Missing context / blind spots
Findings
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
🔄 Updating to match commit Files:
|
| <div id="async_insert"> | ||
| ## async_insert | ||
| </div> | ||
| ## async_insert {#async_insert} |
There was a problem hiding this comment.
This wrapper→anchor migration looks correct here, but the same cleanup was not applied consistently to /snippets/ar/_async_inserts.mdx (and the sibling locale copies) in this batch. Those snippet files still keep <div id="flushing-buffers-on-shutdown"> / <div id="comparison-with-buffer-tables"> and now add matching {#...} anchors on the nested headings, so the rendered page ends up with duplicate fragment IDs.
Please apply the same wrapper-removal step there too: keep either the wrapper id or the explicit heading anchor, but not both.
| @@ -13,21 +13,28 @@ import { VersionHistory } from "/snippets/ar/components/VersionHistory/VersionHi | |||
|
|
|||
| هذه الإعدادات متاحة في [system.settings](/ar/reference/system-tables/settings)، وقد جرى توليدها تلقائيًا من [الشفرة المصدرية](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp). | |||
|
|
|||
| ## lightweight_delete_mode | |||
| ## lightweight_delete_mode {#lightweight_delete_mode} | |||
There was a problem hiding this comment.
The new localized lightweight-delete docs in this batch now link to #lightweight-update-requirements, so the corresponding localized UPDATE pages need to preserve that fragment ID when headings are rewritten. Right now docs/ar/reference/statements/update.mdx (and the sibling es/fr/ja/ko/pt-BR/ru copies) expose only a plain localized ## heading there, with no matching {#lightweight-update-requirements} or <div id=...>, so the new links resolve nowhere.
Please restore a stable lightweight-update-requirements anchor on those localized UPDATE pages or point the new links at a fragment that exists in every locale.
|
|
||
| **الوسيطات** | ||
|
|
||
| - `y` — المتغير التابع. [`(U)Int*`](/reference/data-types/int-uint) أو [`Float*`](/reference/data-types/float) |
There was a problem hiding this comment.
These new localized regr_* pages still hard-code /reference/data-types/... links even though the localized targets already exist under /ar/reference/data-types/... (and the same pattern is present in the sibling locale files). That bounces readers back to the default-language docs in the middle of a localized page.
Please rewrite generated internal links to preserve the current locale whenever a localized target exists.
…24860-direct # Conflicts: # docs/ar/products/cloud/api-reference/navigation.json # docs/es/products/cloud/api-reference/navigation.json # docs/fr/products/cloud/api-reference/navigation.json # docs/ja/products/cloud/api-reference/navigation.json # docs/ko/products/cloud/api-reference/navigation.json # docs/pt-BR/products/cloud/api-reference/navigation.json # docs/ru/products/cloud/api-reference/navigation.json # docs/zh/products/cloud/api-reference/navigation.json
Give each translated homepage link helper a static locale fallback and validate both Cloud card targets before hydration. Review: #117515 (comment) CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117515&sha=8c20c0a6184190eed3aff5ace9da861f3bf34773&name_0=PR&name_1=Docs%20check%20%28Mintlify%29 PR: #117515
Translate the five quickstart explorer group labels in every localized navigation tree and validate their exact locale-specific ordering in the docs checker. Review: #117515 (comment) CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117515&sha=8c20c0a6184190eed3aff5ace9da861f3bf34773&name_0=PR&name_1=Docs%20check%20%28Mintlify%29 PR: #117515
Translate the Integrations banner heading and description across every localized homepage. Extend locale validation to guard both strings in all eight translated trees.\n\nCI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117515&sha=8c20c0a6184190eed3aff5ace9da861f3bf34773&name_0=PR&name_1=Docs%20check%20%28Mintlify%29\nPR: #117515
|
|
||
| **معاملات المحرك** | ||
|
|
||
| * `cluster_name` — اسم عنقود من تهيئة الخادم (راجع [العناقيد](/ar/reference/engines/table-engines/special/distributed#distributed-clusters))، كما هو الحال في محرك الجدول `Distributed`. تُدعم [وحدات الماكرو](/ar/reference/settings/server-settings/settings/other#macros) مثل `{cluster}`، وتُوسَّع عند كل وصول. |
There was a problem hiding this comment.
This new localized link points at /ar/reference/engines/table-engines/special/distributed#distributed-clusters, but the localized distributed.mdx page no longer exposes that fragment — its heading is just ## العناقيد with no {#distributed-clusters} anchor. As a result, this link lands on a missing fragment.
The same regression is present in the sibling localized cluster.mdx copies too. Please either restore the stable distributed-clusters anchor on the localized Distributed pages or keep this link on the English page until that anchor exists locally.
Related: #124860
| * إذا كنت تقرأ مجموعات بيانات كبيرة، ففكّر في تعديل [`BlockBufferSize`](/ar/integrations/language-clients/go/configuration#connection-settings). سيزيد ذلك من استهلاك الذاكرة، لكنه يتيح فك ترميز المزيد من الكتل بالتوازي أثناء التكرار على الصفوف. القيمة الافتراضية 2 متحفظة وتقلل من الحمل الإضافي على الذاكرة. وتعني القيم الأعلى وجود المزيد من الكتل في الذاكرة. ويتطلب هذا الاختبار، لأن الاستعلامات المختلفة قد تنتج أحجام كتل مختلفة. لذلك يمكن ضبطه على [مستوى الاستعلام](/ar/integrations/language-clients/go/clickhouse-api#using-context) عبر Context. | ||
| * كن دقيقًا في تحديد الأنواع عند إدراج البيانات. فمع أن العميل مصمم ليكون مرنًا، مثل السماح بتحليل السلاسل النصية إلى UUIDs أو عناوين IP، فإن ذلك يتطلب التحقق من صحة البيانات ويترتب عليه تكلفة وقت الإدراج. | ||
| * استخدم عمليات الإدراج الموجّهة بالأعمدة حيثما أمكن. ومرة أخرى، ينبغي أن تكون محددة الأنواع بوضوح لتجنب حاجة العميل إلى تحويل قيمك. | ||
| * اتبع توصيات ClickHouse [المتعلقة بالأداء](/ar/reference/statements/insert-into#performance-considerations) لتحقيق أفضل أداء عند الإدراج. |
There was a problem hiding this comment.
The localized INSERT INTO page no longer preserves the stable #performance-considerations fragment, so this new localized link resolves nowhere. In docs/ar/reference/statements/insert-into.mdx the matching heading is now just ## اعتبارات الأداء with no {#performance-considerations} or id=..., while the English target still exposes that anchor.
That breaks not only this page but the other localized docs in this batch that link to the same fragment. Please restore the stable performance-considerations anchor on the localized INSERT INTO page, or keep these links on the English page until the localized anchor exists.
The merge queue fast-forwards master over up to 5 merges in one push and
MasterCI runs once, for the push head. For a push, praktika read the changed
files of the head commit only (`gh api commits/{sha}`), so a job affected
only by an earlier commit of the same push was filtered as "Not affected by
the changed files and not required", and functional/integration shards
skipped themselves as "Only test files changed". At master c189bd9 (ClickHouse#128277
in `src/` + ClickHouse#128142 tests only) this skipped 95 jobs, including both
`Build (*_release_performance_reference)`, so PR performance runs based on it
fell back to the official build (`long_primary_key` +16% on amd, ClickHouse#127846).
At f760cbb all 32 builds were skipped.
Now a push event records its `before` (`_Environment.PUSH_BEFORE_SHA`), and
`GH.get_changed_file_statuses` walks first parents from the head down to it,
reading all pages of each commit's file list (`gh api --paginate`), and
unions them (the newest commit's status wins). If the files cannot all be
known - an all-zero or malformed `before` (created branch), a failed or
malformed read, a commit at GitHub's 3000-file listing limit, a walk that
does not reach `before` within 50 commits - the result is `None` with a
warning, never a partial list, and it is not cached. `store_data.py` keeps
`None` for push events, so no job is filtered by it (`Job.is_affected_by`);
before, a failed read stored `[]`, which filtered every non-required job.
Without `before` (local runs, the native orchestrator) the head-only read
is unchanged; PR, merge queue, schedule and dispatch are unchanged.
Validated locally against the real GitHub API by replaying the 404 batched
master pushes of October: the result equals the union of every pushed
commit's files (re-parsed independently, commit lists from git) on 402, and
is unknown on the 2 that contain a 3000-file commit (ClickHouse#126194, and the docs
translation ClickHouse#124860); the job filter keeps 14,871 more job-runs on 131
pushes, plus 952 test shards that self-skipped now run in full, ~+7.8% of
October's 203,420 master job-runs, including both reference builds on 106
pushes. 100 single-commit pushes give identical statuses, with one request
for heads of up to 100 files.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
❌ Localization Failed
We encountered an issue while trying to localize your pull request.
🔍 What happened?
The Locadex i18n process encountered an unexpected error and could not complete successfully.
🛠️ Troubleshooting
/locadex) to retry the localization📞 Need Help?
If this issue persists, please contact our support team or check the Locadex documentation.
This is an automated message from the Locadex bot.
General Translation | Configure Locadex for Clickhouse Docs Mintlify
Workflow [PR]
Sync PR [sync-upstream/pr/124860]
Version info
26.10.1.2362-master(included in26.10and later)