Skip to content

[zh] Rename collector deployment to deploy for correct URL path#9473

Open
wucm667 wants to merge 4 commits intoopen-telemetry:mainfrom
wucm667:fix/zh-collector-deploy-rename
Open

[zh] Rename collector deployment to deploy for correct URL path#9473
wucm667 wants to merge 4 commits intoopen-telemetry:mainfrom
wucm667:fix/zh-collector-deploy-rename

Conversation

@wucm667
Copy link
Copy Markdown
Contributor

@wucm667 wucm667 commented Mar 23, 2026

Summary

  • Fix Chinese collector deployment translation URL mismatch

Problem

The Chinese translation for the Collector deployment documentation was placed under
the wrong directory:

  • Expected path: /zh/docs/collector/deploy/
  • Actual path: /zh/docs/collector/deployment/

This caused /zh/docs/collector/deploy/ to display English content instead of Chinese,
since no Chinese translation existed at the correct location.

Solution

Renamed content/zh/docs/collector/deployment/ to content/zh/docs/collector/deploy/
to match the source English URL path.

Changes

  • Renamed content/zh/docs/collector/deployment/_index.mdcontent/zh/docs/collector/deploy/_index.md
  • Renamed content/zh/docs/collector/deployment/agent.mdcontent/zh/docs/collector/deploy/agent.md
  • Renamed content/zh/docs/collector/deployment/gateway/index.mdcontent/zh/docs/collector/deploy/gateway/index.md

Test plan

  • Verify /zh/docs/collector/deploy/ now displays Chinese content
  • Verify /zh/docs/collector/deployment/ returns 404 or redirects
  • Run npm run check:i18n to check for drift issues

The Chinese translation was incorrectly placed under
`content/zh/docs/collector/deployment/` instead of
`content/zh/docs/collector/deploy/`, causing the Chinese page at
/zh/docs/collector/deploy/ to fallback to English content.

Renamed directory to match the source English URL path.
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Mar 23, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: wucm667 / name: wucm667 (148abad)

@otelbot-docs otelbot-docs bot requested review from a team March 23, 2026 08:34
@otelbot-docs otelbot-docs bot added the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label Mar 23, 2026
@otelbot-docs otelbot-docs bot added the missing:sig-approval Co-owning SIG didn't provide an approval label Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:zh missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer missing:sig-approval Co-owning SIG didn't provide an approval

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant