[zh] Rename collector deployment to deploy for correct URL path#9473
Open
wucm667 wants to merge 4 commits intoopen-telemetry:mainfrom
Open
[zh] Rename collector deployment to deploy for correct URL path#9473wucm667 wants to merge 4 commits intoopen-telemetry:mainfrom
wucm667 wants to merge 4 commits intoopen-telemetry:mainfrom
Conversation
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.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
The Chinese translation for the Collector deployment documentation was placed under
the wrong directory:
/zh/docs/collector/deploy//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/tocontent/zh/docs/collector/deploy/to match the source English URL path.
Changes
content/zh/docs/collector/deployment/_index.md→content/zh/docs/collector/deploy/_index.mdcontent/zh/docs/collector/deployment/agent.md→content/zh/docs/collector/deploy/agent.mdcontent/zh/docs/collector/deployment/gateway/index.md→content/zh/docs/collector/deploy/gateway/index.mdTest plan
/zh/docs/collector/deploy/now displays Chinese content/zh/docs/collector/deployment/returns 404 or redirectsnpm run check:i18nto check for drift issues