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
Is there any Chinese document? #4790
Comments
There is a very outdated one I think, but nobody maintains it. At this point, I would much rather look into machine translation because there are just no people to update translations. |
A good and convenient translation tool, Chinese users need to go through the firewall, the free translation function is less, and it is inconvenient to operate more. Wall tools are generally charged |
https://github.com/docschina/rollupjs.org but nobody maintain 😕 |
@lukastaegert I'm so excited that Rollup has a brand new doc site based on vitepress! Since Vue ecosystem's docs are almost built in vitepress, so I already got quite proficient in maintaining vitepress-based documents. May I have the chance to join Rollup team and contribute for Chinese translation? |
That would be amazing! There is a growing demand for Chinese documentation, which I have sympathies for, but we cannot maintain it. |
So glad to receive your reply! @lukastaegert For now, Vite docs translation between different languages are not under a very common practice, but in Chinese translation we figured out a way based on just Git commits! Here's the process:
To be noticed that we do translation by following a very strict rule: "translation markdown files' line number must align with the original source" This rule brings benefits for dealing with git conflicts. You're welcome to review some of merged Pull Requests in [Vite Chinese docs](https://github.com/vitejs/docs-cn/pulls) to see more details.
To achieve this stage, we're supposed to finish the translation stage first. You're right! We can do it manually, or just use some machine translation helper like ChatGPT or deepL. |
For more information:
So, can we move the "docs" to "docs-i18n", put together to manage them uniformly. but under different levels of directories those import path would also be different, may cost lots of noisy conflicts during maintain. It would be better do this movement earlier since our translation stage may cost a long time and accompanied by a lot of changes, in order to make the work less cumbersome. |
That looks amazing, thanks for sharing! So if I understand you correctly, for Vue and Vite, the translated documentations are actually in separate repositories that are forks from the main repository? And technically, they are served from different servers? For Rollup, documentation is now part of the main repository. The reason is to ensure that
Documentation updates itself work by force-updating the branch I wonder if this would work with your approach? Technically, you could just fork the entire Rollup repository. Then it would also be easy to translate e.g. the REPL. Then we just need to figure out how to forward |
@lukastaegert My initial thought was to put the translated document and the original document in the same repository, so that they could be maintained in a unified manner in the future. However, forking may be the best option. I can directly fork the Rollup repository and modify the original English document. So I will translate it on my own first. Perhaps there are other translators in the community who have already started the translation and may release it earlier than me. In the past, when we maintained the Vue & Vite Chinese documentation, we followed a principle: whoever completes 80% of the main content of the original document first, we will designate their repository as the official designated repository, and start some official promotion, call for participation, and assistance. See you on the day when the translation is completed! |
I admit that was also my initial thought, but a separate repository means you can just organize much more freely. If it brings an advantage, we can merge the Chinese translations into the main repository at any time, though. |
I've already setup a Netlify site: https://rollup-docs-cn.netlify.app/, which is behind https://github.com/ShenQingchuan/rollup-docs-cn. I'd like to use my spare time and weekends to do the translation. |
https://github.com/ShenQingchuan/rollup-docs-cn/issues/1 I'm so happy to share with you our progress about Chinese docs translation, it seems like we're able to make it done in this weekend! I'm wondering how to manage this repo after finishing the initial translation. For now, it's deployed on my own Netlify, how are things going to do with the transfering? As you may refer, we Vue/Vite team setup a organization's "team" (or another separated org like "vue-translations"), and only allow this team to manage the docs-(langName) repo, which can give more liberty to the maintainers, and is able to gathering more native speakers to build this community! I'd like to be part of this team, and keeping maintaining this docs repo, and I've already have a team to work together. |
Great news! As a first step, I created https://github.com/orgs/rollup/teams/chinese-docs. I wonder if this is already enough to allow you to transfer the repository to the Rollup organization? Meanwhile, I will have a chat with @Rich-Harris about the deployment. |
Glad to hear that. I'm going to make the translation done first and make everything ready for transering. Thanks for your kindness and all your support! |
@lukastaegert Hi, Luka, I've done transfering the repo to Rollup.js org. But for now my previous preview deployment on Netlify has been unlinked. I tried to update the link but I can't configure it to use Rollup's repo. It seems like that I don't have the right to access this repo now on Netlify. I used to deploy a preview site before the official site was online in Vite team, I checked the team/people page of my own It seems like that I need the But I found that I can just fork it for myself, and it still works 😂 |
@ShenQingchuan oops, I somehow assumed that transferring the repository what give you all necessary privileges. I gave you back admin privileges to your repo now 😉. And you are also now the maintainer of https://github.com/orgs/rollup/teams/chinese-docs so you can add new members here or change the name if you want to. |
I also added the repo to the team https://github.com/orgs/rollup/teams/chinese-docs/repositories Let me know if you need anything else. If you can give me a deployment url, I can ask Rich to set up |
@lukastaegert For now, I've posted it on the repo's sidebar link area, it's https://rollup-docs-cn.netlify.app Thanks for your supports! |
@lukastaegert Hi, Luka, sorry for bothering... It seems like that I can't invite someone else outside Rollup org, I'm only able to invite someone who's already inside Rollup org. 😂 I'd like to invite 4-5 people as the maintainer team for long term support. |
Ooops, I see. So I guess you would need to be a maintainer to do that. As I do not want to step on the toes of any other maintainer in the Rollup organization for now, would it be ok for you to just send me the Github names of anyone you would want to add and I send them the invites? |
1 similar comment
Ooops, I see. So I guess you would need to be a maintainer to do that. As I do not want to step on the toes of any other maintainer in the Rollup organization for now, would it be ok for you to just send me the Github names of anyone you would want to add and I send them the invites? |
Sure! I understand your consideration for controlling the size of the organization. Appreciate your support and kindness! I'd like to invite these workmates to join Rollup.js Chinese docs maintainer team:
There're a lot of translation work done by their PR, and they have shown patience, cooperation and dedication. Thanks! |
Done! |
I'm very excited to receive this news, thank you very much @ShenQingchuan for the recognition and @lukastaegert for the invitation, I will do my best to do what I can to help make Chinese documentation better! |
Hi Luka, since we've already done the first translation and the Chinese docs site is already online. And maybe we can talk about the official deployment later? |
Sure thing! I contacted Rich to look into setting up cn.rollupjs.org, will get back to you once this is done. |
@ShenQingchuan Apparently, Rich already configured |
I apologize for my lack of experience in configuring on Netlify. Could you kindly guide me on where to adjust my configuration? Your help is much appreciated. Thank you. |
It seems that cn.rollupjs.org cannot be accessed |
Sorry, there have been some delays. Still on it. |
cn.rollupjs.org is now set up correctly! We just need to update and merge #4914 now. |
👏🏻!!Glad to hear that !~ Thanks! |
https://rollupjs.org/guide/en/
The text was updated successfully, but these errors were encountered: