[fix](i18n) fix Chinese sidebar translations for current and 4.x#3558
Open
dataroaring wants to merge 1 commit intomasterfrom
Open
[fix](i18n) fix Chinese sidebar translations for current and 4.x#3558dataroaring wants to merge 1 commit intomasterfrom
dataroaring wants to merge 1 commit intomasterfrom
Conversation
Add 32 missing Chinese translations for sidebar categories that were showing English on the Chinese site, and remove 48 orphaned translation keys left behind from sidebar restructuring. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the zh-CN Docusaurus docs sidebar translations to match the latest sidebar category labels for both the current and 4.x doc versions, eliminating English fallbacks and removing unused/orphaned keys.
Changes:
- Add missing zh-CN translations for newly introduced/renamed sidebar categories (notably Performance tuning, Ecosystem, catalogs, and VARIANT-related sections).
- Remove translation keys that no longer correspond to any sidebar label after sidebar restructuring/renames.
- Apply the same translation set to both
current.jsonandversion-4.x.jsonfor consistency.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| i18n/zh-CN/docusaurus-plugin-content-docs/current.json | Adds missing sidebar category translations and removes orphaned keys for the current docs version. |
| i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x.json | Mirrors the same sidebar translation additions/removals for the 4.x docs version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Performance→ 性能优化,Query Performance→ 查询性能,Caching→ 查询缓存,Join Optimization→ Join 优化)Tuning/Tuning Plan/Tuning Executionhierarchy, renamedDistincting Counts→Distinct Counts,Materialize View→Materialized View)current.jsonandversion-4.x.jsonDetails
Missing translations added (32)
New sidebar categories from the Performance section restructuring, Ecosystem section, Lakehouse catalogs, and data types that had no Chinese translation:
Proper nouns kept as-is: connector names (Spark/Flink/Kafka), catalog names (Iceberg/Paimon/Hudi/MaxCompute), database names (MySQL/PostgreSQL).
Orphaned keys removed (48)
Translation keys that no longer match any sidebar label due to renames, restructuring, or removal. Examples:
Async-Materialized View(hyphen removed in sidebar)Distincting Counts→ renamed toDistinct CountsMaterialize View→ renamed toMaterialized ViewVARIANT Functions→ case changed toVariant FunctionsQueries Acceleration,Tuning,Tuning Plan,Tuning Execution,Performance Tuning OverviewDDL,DML,Create,Drop,Show,Alter,Load, etc.Test plan
/docs/(current) and/docs/4.x/versions🤖 Generated with Claude Code