Skip to content
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

zh.po documents by the mdbook-i18n-helpers #2394

Closed
wants to merge 0 commits into from

Conversation

DrJingLee
Copy link
Contributor

Following #2385,

Construct the new documents by mdbook-i18n-helpers;
Complete the Chaptor 3.
updating the remaining.

following ISO-639-1 code standard of languages:
zh = Chinese Version of Language

@raphjaph
Copy link
Collaborator

@DrJingLee I added some scaffolding and a language picker. you can see the page by installing just
and doing

just serve-docs

or if you do not want to install just it would be:

  mdbook build docs -d build
  MDBOOK_BOOK__LANGUAGE=zh mdbook build docs -d build/zh
  mv docs/build/zh/html docs/build/html/zh
  python3 -m http.server --directory docs/build/html --bind 127.0.0.1 8080

@raphjaph
Copy link
Collaborator

And .pot files are autogenerated so they do not have to be checked into git :)

@raphjaph
Copy link
Collaborator

It also seems that it's only partially translated:
Screenshot 2023-08-30 at 21 23 58

@raphjaph
Copy link
Collaborator

I've delete the changes I made and opened a new PR #2403 for just the language picker things. Once that is merged you can merge those changes in here

@raphjaph
Copy link
Collaborator

I just merged #2403, so have a look at the updated README for instructions.

For this PR I will integrate into our build system tomorrow :)

@DrJingLee
Copy link
Contributor Author

I just merged #2403, so have a look at the updated README for instructions.

For this PR I will integrate into our build system tomorrow :)

Great job @raphjaph 👍👍

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.

2 participants