Skip to content

Docs: internationalize master - #124860

Merged
Blargian merged 8 commits into
masterfrom
locadex/docs/parallel/t9n-master-f4x8sw95hlyj9qbmef3znv8x
Oct 14, 2026
Merged

Blargian merged 8 commits into
masterfrom
locadex/docs/parallel/t9n-master-f4x8sw95hlyj9qbmef3znv8x

Conversation

@locadex-agent

@locadex-agent locadex-agent Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Documentation (changelog entry is not required)

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

  1. Check your repository structure - Ensure it follows supported formats
  2. Verify file permissions - Make sure the bot has access to create branches and PRs
  3. Try again - Close and reopen this PR (or comment /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

  • Merged into: 26.10.1.2362-master (included in 26.10 and later)

@locadex-agent
locadex-agent Bot marked this pull request as draft October 9, 2026 08:48
@locadex-agent

locadex-agent Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Updating to match commit 1b72dff (5 files)

Files: src/Common/Scheduler/Nodes/tests/gtest_throttler_constraint.cpp, src/DataTypes/fuzzers/serialization_dynamic_fuzzer.cpp, src/Storages/StorageDistributed.cpp, tests/queries/0_stateless/05223_global_in_shared_node_rewrite.reference, tests/queries/0_stateless/05223_global_in_shared_node_rewrite.sql

Please wait until Locadex finishes before merging this PR.

@clickhouse-gh

clickhouse-gh Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [2d02bb0]

Summary: ✅


AI Review

Summary

This 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
  • ⚠️ GitHub's pulls/files API capped out at 3000 files while this PR changes 3618 files, so I reviewed the full current tree plus the accessible changed-file set, but I could not map every remaining changed file back to an exact diff hunk.
Findings
⚠️ Majors
  • [docs/snippets/ar/_async_inserts.mdx:101] The localized async-insert snippet still keeps wrapper IDs for flushing-buffers-on-shutdown and comparison-with-buffer-tables while the nested headings now also expose matching anchors, so the rendered docs still publish duplicate fragment IDs. Drop either the wrapper IDs or the heading anchors across the localized snippet copies.
  • [docs/ar/reference/statements/update.mdx:64] The localized UPDATE page still does not preserve the stable #lightweight-update-requirements fragment, so the localized lightweight-delete docs link to a fragment that does not exist. Restore that anchor on the localized UPDATE pages, or retarget the callers to a fragment that exists in every locale.
  • [docs/ar/reference/functions/aggregate-functions/regr_slope.mdx:32] The localized regr_* pages still hard-code /reference/data-types/... links even though localized targets already exist, so readers are bounced back to the default-language docs in the middle of a localized page. The generated internal-link rewrite needs to keep the active locale whenever a localized target exists.
  • [docs/ar/reference/engines/database-engines/cluster.mdx:24] The localized Cluster docs still link to /ar/reference/engines/table-engines/special/distributed#distributed-clusters, but docs/ar/reference/engines/table-engines/special/distributed.mdx:130 no longer exposes that fragment. Restore the stable distributed-clusters anchor on the localized Distributed pages, or keep the link on the English page until the localized anchor exists.
  • [docs/ar/integrations/language-clients/go/index.mdx:273] The localized INSERT INTO page no longer preserves #performance-considerations, so this new localized link resolves nowhere. docs/ar/reference/statements/insert-into.mdx:275 now has only a translated heading without the old fragment ID. Restore the stable anchor on the localized INSERT INTO pages, or keep these links on English until the localized anchor exists.
Final Verdict

⚠️ Changes requested — the current head still has multiple user-visible broken localized links and anchors, and two previously resolved review threads still reproduce on 2d02bb0429539290fad8775327382b9403bc943e.

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Oct 9, 2026
@mintlify

mintlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Oct 13, 2026, 11:18 AM

@locadex-agent

locadex-agent Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Updating to match commit b22ff71 (48 files)

Files: docs/_site/customizations/settings-legacy-routes/mergetree-settings.js, docs/reference/engines/table-engines/mergetree-family/mergetree.mdx, docs/reference/settings/merge-tree-settings/other.mdx, docs/snippets/components/MergeTreeSettingsExplorer/MergeTreeSettingsExplorer.jsx, src/Columns/ColumnArray.h, src/Columns/ColumnBLOB.h, src/Columns/ColumnCompressed.h, src/Columns/ColumnConst.h, src/Columns/ColumnDynamic.h, src/Columns/ColumnFunction.h and 38 more

Please wait until Locadex finishes before merging this PR.

<div id="async_insert">
## async_insert
</div>
## async_insert {#async_insert}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Blargian
Blargian marked this pull request as ready for review October 9, 2026 10:06
…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
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}`، وتُوسَّع عند كل وصول.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

* إذا كنت تقرأ مجموعات بيانات كبيرة، ففكّر في تعديل [`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) لتحقيق أفضل أداء عند الإدراج.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Blargian Blargian self-assigned this Oct 14, 2026
Merged via the queue into master with commit 3a1bd53 Oct 14, 2026
177 checks passed
@Blargian
Blargian deleted the locadex/docs/parallel/t9n-master-f4x8sw95hlyj9qbmef3znv8x branch October 14, 2026 11:32
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 14, 2026
alexey-milovidov pushed a commit to Onyx2406/ClickHouse that referenced this pull request Nov 1, 2026
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]>

This branch was successfully deployed

1 active deployment
staging - docs — 2d02bb04 Deployed Oct 13, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-documentation Documentation PRs for the specific code PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants