will-sh opened a new pull request, #446: URL: https://github.com/apache/ozone-site/pull/446
## What changes were proposed in this pull request? HDDS-9571. Enable Docusaurus i18n support This pull request enables Docusaurus internationalization support for Simplified Chinese on the Apache Ozone Website v2 branch. The patch adds `zh-Hans` to the Docusaurus locale configuration, defines locale metadata for English and Simplified Chinese, and generates the initial Docusaurus translation scaffold under `i18n/zh-Hans`. It also provides initial Simplified Chinese translations for core website UI labels, including the navbar, footer, blog options, built-in theme strings, and documentation sidebar category labels. The goal is to enable the Website v2 i18n framework so the site can expose Chinese locale routes such as `/zh-Hans/`. This patch does not attempt to translate every Markdown or MDX content page. Full Chinese documentation translation or migration can be handled incrementally in follow-up patches. ## What is the link to the Apache Jira? https://issues.apache.org/jira/browse/HDDS-9571 ## How was this patch tested? The patch was tested with the following commands: ```bash pnpm clear .github/scripts/markdownlint.sh .github/scripts/file_names.sh .github/scripts/sidebar.sh .github/scripts/spelling.sh pnpm build -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
