Docs cn #4

Merged
honeymoose merged 6 commits from docs_cn into main 2026-11-26 20:00:20 -05:00
Owner

All 80 pages of search-plugins are translated. The Chinese site now has 245 translated pages out of 823, about 30%. I haven't rebuilt the whole site or looked at the pages in a browser.

Checks

  • Structure: all 80 translated pages have the same headings, code blocks, ::: containers, table rows, links and Badges as the English pages.
  • English anchors: sync-zh.mjs reported no heading-count mismatches, so every Chinese heading gets its English anchor.
  • Vue compile: all pages compile with no errors.
  • Terms: I fixed two inconsistencies:
    • 后置过滤 → 后过滤, to match the k-NN pages.
    • 检索搜索管道 → 获取搜索管道, so "retrieving" an API object isn't confused with "retrieval" as in RAG.

Token use: the 6 agents used about 700,000 tokens, slightly under my estimate.

Choices worth knowing about

  • Search-pipeline processor pages: the sidebar title keeps the English type name (for example "Collapse"), matching the English sidebar. The page heading is "Collapse 处理器".
  • English kept in headings: SQL clause names (Select, Where, Group By) and full-text function names in headings stay in English.
  • Interface labels: button and label text from ODBC, Tableau and the Dashboards interface stays in English, because those programs show them in English.
  • Translation guide: i18n/TRANSLATION-GUIDE.md now has the search terms from this batch, such as 嵌入, 重排序, 时间点(PIT), 高亮器, 预过滤 / 后过滤 and 游标, plus the rules above.

Problems in the English source (the translations keep them as they are)

  • Anchors that don't match their headings, so the links don't work on the English pages either:
    • paginate.md: #the-search_after-parameter
    • stats-api.md: #the-datasearch_relevance-object
    • sql/functions.md: the MATCHPHRASEQUERY link points to #query-string
    • multimodal-search.md: the link has a doubled ##
    • async/security.md: a link points to the site home page
  • Tables missing a separator row, or with too few separator columns, so they probably don't display as tables:
    • keyword-search.md
    • knn/filter-search-knn.md
    • knn/painless-functions.md
    • sql/sql/aggregations.md
    • sql/sql/metadata.md
    • sql/sql/odbc.md
  • Content errors:
    • painless-functions.md: the l1Norm description is a copy of the one for l2Squared.
    • sql/datatypes.md: the example converting a timestamp to date gives the wrong day (2020-08-08 instead of 2020-08-17).
    • personalize-search-ranking.md: the text says personalize_search_ranking but the example uses personalized_search_ranking.
    • sql-ppl-api.md: the fields table lists data_rows but the response uses datarows.
    • response-formats.md: the example URL is missing & (?format=csvandsanitize=false).
    • sql/limitation.md: has a leftover line, "Suggested change".

About 3.3 MB of English text is left. Candidates for the next batch:

  • ml-commons-plugin (81 pages, 378 KB)
  • security (41 pages, 373 KB)
  • A few small directories together: security-analytics, ingest-pipelines and monitoring-your-cluster, about 330 KB

None of this is committed yet.

All 80 pages of search-plugins are translated. The Chinese site now has 245 translated pages out of 823, about 30%. I haven't rebuilt the whole site or looked at the pages in a browser. **Checks** - **Structure:** all 80 translated pages have the same headings, code blocks, `:::` containers, table rows, links and Badges as the English pages. - **English anchors:** `sync-zh.mjs` reported no heading-count mismatches, so every Chinese heading gets its English anchor. - **Vue compile:** all pages compile with no errors. - **Terms:** I fixed two inconsistencies: - 后置过滤 → 后过滤, to match the k-NN pages. - 检索搜索管道 → 获取搜索管道, so "retrieving" an API object isn't confused with "retrieval" as in RAG. **Token use:** the 6 agents used about 700,000 tokens, slightly under my estimate. **Choices worth knowing about** - **Search-pipeline processor pages:** the sidebar title keeps the English type name (for example "Collapse"), matching the English sidebar. The page heading is "Collapse 处理器". - **English kept in headings:** SQL clause names (Select, Where, Group By) and full-text function names in headings stay in English. - **Interface labels:** button and label text from ODBC, Tableau and the Dashboards interface stays in English, because those programs show them in English. - **Translation guide:** [i18n/TRANSLATION-GUIDE.md](i18n/TRANSLATION-GUIDE.md) now has the search terms from this batch, such as 嵌入, 重排序, 时间点(PIT), 高亮器, 预过滤 / 后过滤 and 游标, plus the rules above. **Problems in the English source** (the translations keep them as they are) - **Anchors that don't match their headings, so the links don't work on the English pages either:** - `paginate.md`: `#the-search_after-parameter` - `stats-api.md`: `#the-datasearch_relevance-object` - `sql/functions.md`: the `MATCHPHRASEQUERY` link points to `#query-string` - `multimodal-search.md`: the link has a doubled `##` - `async/security.md`: a link points to the site home page - **Tables missing a separator row, or with too few separator columns, so they probably don't display as tables:** - `keyword-search.md` - `knn/filter-search-knn.md` - `knn/painless-functions.md` - `sql/sql/aggregations.md` - `sql/sql/metadata.md` - `sql/sql/odbc.md` - **Content errors:** - `painless-functions.md`: the `l1Norm` description is a copy of the one for `l2Squared`. - `sql/datatypes.md`: the example converting a timestamp to `date` gives the wrong day (`2020-08-08` instead of `2020-08-17`). - `personalize-search-ranking.md`: the text says `personalize_search_ranking` but the example uses `personalized_search_ranking`. - `sql-ppl-api.md`: the fields table lists `data_rows` but the response uses `datarows`. - `response-formats.md`: the example URL is missing `&` (`?format=csvandsanitize=false`). - `sql/limitation.md`: has a leftover line, "Suggested change". About 3.3 MB of English text is left. Candidates for the next batch: - **ml-commons-plugin** (81 pages, 378 KB) - **security** (41 pages, 373 KB) - **A few small directories together:** security-analytics, ingest-pipelines and monitoring-your-cluster, about 330 KB None of this is committed yet.
honeymoose added 6 commits 2026-11-26 16:56:55 -05:00
更新导航链接
Jekyll Build Verification / check (pull_request) Canceled after 0s
Style check / style-job (pull_request) Canceled after 0s
Delete merged branch of the backport PRs / delete-branch (pull_request) Canceled after 0s
Backport / Backport (pull_request_target) Canceled after 0s
DOCS/OpenSearch/pipeline/head This commit looks good
a7642faeef
改发布版本为 main
Style check / style-job (pull_request) Canceled after 0s
Delete merged branch of the backport PRs / delete-branch (pull_request) Canceled after 0s
Backport / Backport (pull_request_target) Canceled after 0s
DOCS/OpenSearch/pipeline/head This commit looks good
Jekyll Build Verification / check (pull_request) Canceled after 0s
f1789a8901
Merge remote-tracking branch 'origin/docs_cn' into docs_cn
DOCS/OpenSearch/pipeline/head This commit looks good
276363dc53
All 80 pages of search-plugins are translated.
DOCS/OpenSearch/pipeline/pr-main This commit looks good
Jekyll Build Verification / check (pull_request) Canceled after 0s
Style check / style-job (pull_request) Canceled after 0s
Delete merged branch of the backport PRs / delete-branch (pull_request) Canceled after 0s
Backport / Backport (pull_request_target) Canceled after 0s
DOCS/OpenSearch/pipeline/head This commit looks good
18a14a4366
honeymoose merged commit 925d47ffe5 into main 2026-11-26 20:00:20 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iSharkFly-Docs/OpenSearch#4