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

Translate to other languages, particularly Chinese #150

Closed
1 task done
lispking opened this issue Oct 25, 2024 · 6 comments · Fixed by #154
Closed
1 task done

Translate to other languages, particularly Chinese #150

lispking opened this issue Oct 25, 2024 · 6 comments · Fixed by #154
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@lispking
Copy link
Contributor

Description

Thank you for offering such powerful technology.

I'm more than happy to help by translating this book into Chinese to attract more like-minded friends to learn and progress together.

If you are embarking on this task, do you have any additional suggestions? Should I go ahead and merge it into this repository by submitting a Pull Request (PR)?

Code of Conduct

  • I agree to follow this project's Code of Conduct.
@lispking lispking added the documentation Improvements or additions to documentation label Oct 25, 2024
@mlegner
Copy link
Collaborator

mlegner commented Oct 28, 2024

Thanks a lot for the initiative, @lispking! We definitely want to support users in the language they feel most comfortable in. For translations of our docs, I see 3 main possibilities:

  1. Keep the translations in this repository. This gives us a lot of control but also a lot of overhead. Also, the tool we use (mdBook) doesn't really support multilingual docs well.
  2. Keep the translations in separate repositories, possibly owned by community members such as yourself. This would reduce our overhead but may also mean that the content gets out of sync pretty quickly (as we will keep changing the docs over the coming months). Would you be willing to maintain something like this?
  3. Simply let users use their favorite AI tool like Google Translate to browse our site. This is of course not perfect, but would be by far the most maintainable solution. Maybe you could take a look at the Chinese translation created by Google Translate and check if it is of sufficient quality?

We will also discuss the different options within the team and get back to you in the coming days.

@mlegner mlegner self-assigned this Oct 28, 2024
@lispking
Copy link
Contributor Author

In the past couple of days, while studying the move files, I found that Google Translate doesn't work well with other move documents.

Some professional terms are still translated into Chinese, which is actually unnecessary. Therefore, I don't recommend using Google Translate.

MdBook is indeed not friendly towards multilingual support, but there are ways to solve this issue.

For example, adding a folder like 'translate/zh-CN' and translating other languages from English would suffice.

Alternatively, creating a new repository specifically for this purpose could ensure that the original repository focuses solely on the English version.

@lispking
Copy link
Contributor Author

lispking commented Oct 29, 2024

https://github.com/google/mdbook-i18n-helpers
Discovered this library, quite interesting. It seems that everyone is using this plugin in mdbook to implement it.

I have already forked the branch and it's under verification: https://github.com/lispking/walrus-docs

@lispking
Copy link
Contributor Author

@mlegner I tried translating Chinese and it seems to work with this method. I've submitted part of the translation in the PR, and it looks quite user-friendly.

https://github.com/google/mdbook-i18n-helpers Discovered this library, quite interesting. It seems that everyone is using this plugin in mdbook to implement it.

I have already forked the branch and it's under verification: https://github.com/lispking/walrus-docs

@mlegner mlegner changed the title feat: Translate to Chinese Translate to other languages, particularly Chinese Oct 29, 2024
@lispking
Copy link
Contributor Author

lispking commented Oct 29, 2024

After a whole day and night of staying up, the first draft of the translation is finally complete.

Translation effect can be viewed here: https://docs-zh.walrus.site/

@mlegner
Copy link
Collaborator

mlegner commented Oct 30, 2024

Thank you so much for all your work on this, @lispking. I will take a look at the setup and ask one of the native Chinese speakers on the team to take a look at the translation.

@mlegner mlegner assigned lispking and unassigned mlegner Oct 30, 2024
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants