Skip to content

Translate for zh_CN #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Embers-of-the-Fire
Copy link

Wiki Translation

Overview

This PR creates a translation for zh_CN. All pages are translated using sphinx's localisation tool.

Changes

  • All *.po files: Translation using sphinx's default tool, manually.
  • .gitignore: Add .mo as it's binary production.
  • conf.py: Add locale settings for sphinx.

Testing

I've tested such translation using sphinx's local build toolchain, and everything work well.

Additional

I've never used read-the-docs before, and I just use sphinx's manual toolchain to translate. If other changes shall be made according to your rtd settings, please point it out and I'll make the change.

- ignore .vscode folder: local specific item
- ignore .mo files: binary production, not source code
- ignore *.dev.*: dev-only files
- add localization config for zh_CN
- translate: translate whole wiki into zh_CN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant