Skip to content

docs: Add multilingual support with Chinese translation#95

Merged
AdemBoukhris457 merged 1 commit intomainfrom
docs/multilingual_support
Nov 25, 2025
Merged

docs: Add multilingual support with Chinese translation#95
AdemBoukhris457 merged 1 commit intomainfrom
docs/multilingual_support

Conversation

@AdemBoukhris457
Copy link
Owner

Summary

Adds multilingual documentation support with complete Chinese translation, allowing users to switch between English and Chinese versions using a language dropdown in the navbar.

Changes

  • Plugin Configuration: Configured mkdocs-static-i18n plugin for internationalization support
  • Folder Structure: Reorganized documentation into docs/en/ and docs/zh/ folders
  • Chinese Translation: Added complete Chinese translation for all documentation pages
  • Language Switcher: Implemented language dropdown in navbar next to search field
  • Navigation Translation: Added Chinese navigation structure with all labels translated
  • UI Cleanup: Removed language selector links from home pages (now handled by navbar dropdown)

Technical Details

  • Uses mkdocs-static-i18n plugin with docs_structure: folder configuration
  • Custom CSS for language switcher positioning
  • Separate navigation structure for Chinese language
  • All content, navigation labels, and UI elements are fully translated

Testing

  • ✅ Documentation builds successfully for both languages
  • ✅ Language switcher appears in navbar
  • ✅ Content changes correctly when switching languages
  • ✅ Navigation labels display in selected language
  • ✅ All internal links work correctly

Screenshots

Language switcher dropdown in navbar allows seamless switching between English and Chinese documentation.

Related Issues

N/A

- Configure mkdocs-static-i18n plugin
- Add Chinese documentation in docs/zh/
- Move English docs to docs/en/
- Add language switcher dropdown in navbar
- Translate all navigation labels to Chinese
- Remove language selector from home pages
@AdemBoukhris457 AdemBoukhris457 self-assigned this Nov 25, 2025
@AdemBoukhris457 AdemBoukhris457 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 25, 2025
@AdemBoukhris457 AdemBoukhris457 merged commit 1169aa5 into main Nov 25, 2025
1 check failed
@AdemBoukhris457 AdemBoukhris457 deleted the docs/multilingual_support branch November 25, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant