Skip to content

[DOC] Remaining zh locale gaps: version labels, missing docs, /versions translation and stale translation IDs #1140

Open

Description

@dengliming

Rechecked against main at c9de244a1faca40a1aa560e40c81bacbd9565bbb on 2026-10-10, after #1144, #1146, #1147, #1148 and #1154.

Missing zh version label files

i18n/zh/docusaurus-plugin-content-docs/ still lacks:

  • version-2.7.0.json
  • version-2.7.0.1.json
  • version-2.7.0.2.json
  • version-2.7.0.3.json

Generate the appropriate locale metadata and translate the version/sidebar category labels for these versions.

The mismatched current.json / version-2.7.1.json release identity is tracked separately in #1133.

Missing zh documentation

The following counts compare English Markdown/MDX files with matching zh relative paths.

Current documentation: 9 pages

Under i18n/zh/docusaurus-plugin-content-docs/current/:

  • plugin-center/ai/ai-prompt.md
  • plugin-center/ai/ai-request-transformer.md
  • plugin-center/ai/ai-response-transformer.md
  • plugin-center/ai/ai-token-limiter.md
  • plugin-center/mcp/mcp-server-plugin.md
  • plugin-center/observability/logging-clickhouse.md
  • plugin-center/proxy/param-transform-plugin.md
  • plugin-center/security/basic-auth-plugin.md
  • plugin-center/security/key-auth-plugin.md

Include the necessary AI/MCP category metadata when translating these sections.

Historical 2.7.1 documentation: 6 pages

Under i18n/zh/docusaurus-plugin-content-docs/version-2.7.1/:

  • plugin-center/ai/ai-prompt.md
  • plugin-center/ai/ai-proxy.md
  • plugin-center/ai/ai-token-limiter.md
  • plugin-center/mcp/mcp-server-plugin.md
  • quick-start/quick-start-mcpServer.md
  • user-guide/proxy/mcp-tool-proxy.md

This replaces the original count of 8 pages. Coordinate these translations with the snapshot resolution in #1133.

Ecosystem documentation

There are still no zh documentation folders for the shenyuNginx and shenyuClientRust plugins.

The missing zh 2.7.0.3 / 2.7.1 release notes remain tracked in #1139.

Remaining UI and translation metadata work

  • src/pages/versions.tsx still hard-codes its title, headings, descriptions, "Documentation", and "Release Notes" in English.
  • The active navbar "Event" label is translated as 事件; consider 活动 to match the ASF events terminology.
  • The shared footer still has hard-coded English legal/tagline text. Review which of these strings should be localized.
  • i18n/zh/code.json retains old translation IDs whose components or data are no longer rendered, including the old release title with Ningx, old "Get Started"/"Extensions" wording, and other obsolete page strings. Regenerate/reconcile locale metadata and remove unused entries rather than treating these stale entries as current-page regressions.
  • Audit the unmatched zh version-2.4.0/plugin-center/rpc-proxy/divide-plugin.md file and remove or relocate it if it is obsolete.

Problems superseded by the refresh

The old homepage Features component is no longer used by the homepage. The replacement homepage copy, download page, documentation hub, footer navigation, and release summaries use the new translation IDs.

The Team page now shares src/data/team.ts between locales, includes yuluo-yx, and constructs the Apache ID link from that member's own ID. The old English/Chinese team.mdx files were removed.

The previous blog-abstract translation list belonged to the removed custom blog data and should not be carried forward as a current-list-page bug.

Acceptance criteria

  • The retained documentation versions have translated zh labels and sidebar categories.
  • The listed missing pages render their Chinese translations instead of falling back to English.
  • The Rust and Nginx documentation have the intended zh coverage.
  • /zh/versions uses translated UI text.
  • Generated locale metadata matches the components and pages currently in use.

Activity

  1. added
    documentation
    on Sep 24, 2026
  2. changed the title [-][DOC] zh locale gaps: missing translation ids, untranslated pages, wrong translations, missing version-2.7.0.x.json and untranslated docs[/-] [+][DOC] Remaining zh locale gaps: version labels, missing docs, /versions translation and stale translation IDs[/+] on Oct 10, 2026
  3. Aias00 commented on Oct 28, 2026

    @Aias00
    Contributor

    Revalidated during the documentation audit against website main@4bc475541f38b7ab38efa6fec6293d5a6708802b and ShenYu master@44a7f7572dbc604931d322cd1266088bf0ed134d (2.7.3-SNAPSHOT).

    This issue is reused for the audit's Chinese-source coverage task. The exact same nine current-doc source gaps listed above remain; no duplicate translation issue is needed.

    The current source inventory contains 136 English .md pages and 127 matching Chinese .md pages, with no Chinese-only paths. All nine missing paths match this issue's current-doc list. Live checks also confirm that /zh/docs/plugin-center/ai/ai-prompt/ and /zh/docs/plugin-center/mcp/mcp-server-plugin/ render English body text within the Chinese site shell. These are localization fallback gaps, not a claim that the URLs necessarily return 404.

    Please coordinate the existing translations with the new AI/Agent/MCP/plugin guide changes, so translated examples and field names use the same verified implementation/version. Build and inspect both locales, not only the English source tree. Existing historical/ecosystem/UI scope in this issue remains separate and is not claimed fixed by translating the nine current pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions