Skip to content

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

Merged
vitorvasc merged 4 commits intoopen-telemetry:mainfrom
wucm667:fix/zh-collector-deploy-rename
Mar 30, 2026
Merged

[zh] Rename collector deployment to deploy for correct URL path#9473
vitorvasc merged 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
@windsonsea windsonsea removed the missing:sig-approval Co-owning SIG didn't provide an approval label Mar 30, 2026
@vitorvasc vitorvasc added this pull request to the merge queue Mar 30, 2026
@otelbot-docs otelbot-docs bot added ready-to-be-merged This PR is ready to be merged by a maintainer and removed missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer labels Mar 30, 2026
Merged via the queue into open-telemetry:main with commit cbcee40 Mar 30, 2026
25 checks passed
@otelbot
Copy link
Copy Markdown
Contributor

otelbot bot commented Mar 30, 2026

Thank you for your contribution @wucm667! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

@wucm667 wucm667 deleted the fix/zh-collector-deploy-rename branch March 30, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:zh ready-to-be-merged This PR is ready to be merged by a maintainer

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants