pinia
pinia copied to clipboard
docs(zh): add Chinese docs
Hello, I want to add chinese docs for pinia. I had added zh
folder, and completed the config for localisation.
But I don't know if the official team is willing to add Chinese documentation,so I created this PR for comments.
I will complete the translation of the document in the next few days, if the official wishes.
Deploy Preview for pinia-official failed.
Name | Link |
---|---|
Latest commit | ccb347ad4f0d667efd719f294601f8c693108d62 |
Latest deploy log | https://app.netlify.com/sites/pinia-official/deploys/634ea963ab28f600092bbe76 |
Hi, everyone, I am so happy to tell you that I have finished the chinese docs translation. If you are good to Chinese , I am willing to get your suggestion of review. Now, you can click here to preview.

![]()
这里翻译成【商店】?我觉得应该是直接用store吧?
这个可能是作者机器翻译的😄
这里翻译成【商店】?我觉得应该是直接用store吧?
这个可能是作者机器翻译的😄
估计是的。可能遗漏了吧😄

这个可能是作者机器翻译的😄
为了提升速度,翻译过程中确实有部分借助机翻,但都经过一次人工校对,这里应该是我疏忽了,多谢指出,我立马修改。
下次提意见的时候,如果可以的话,请按标准的 review 方式操作吧。这样可以加快 BUG 修改,你也可以成为本 PR 的贡献者,当本 PR 被 merge 之后你也可以成为仓库贡献者。目前这样的截图方式并不是很方便。
这个可能是作者机器翻译的😄
为了提升速度,翻译过程中确实有部分借助机翻,但都经过一次人工校对,这里应该是我疏忽了,多谢指出,我立马修改。
下次提意见的时候,如果可以的话,请按标准的 review 方式操作吧。这样可以加快 BUG 修改,你也可以成为本 PR 的贡献者,当本 PR 被 merge 之后你也可以成为仓库贡献者。目前这样的截图方式并不是很方便。
ok. 我的疏忽。大致翻了下看到的问题,就直接评论了。下次我注意~
@Aimer-Fan Thanks for your review, I have fixed them. If no other suggestions, please approve this PR, thanks again!
@posva hi, there are more than two people that has approved this PR , so can it be merged as soon as possible?
@KimYangOfCat Could you please check other Composition API translation, and replace the Store
to "状态管理" when neccessary ( e.g. in index title description) if you have spare time?
@awxiaoxian2020 thanks for your reminder. this PR has some conflicts due to update now. I will update my branch and translate new content recently, and previous tanslations will be checked again.
And the CI seems failed. Do we need to fix it?
yes, but now there's no rush, I need to finish translating the update first. Then I will fix CI
I think it should be merged first and improve later. @awxiaoxian2020 Agree! please approve this PR. @posva PTAL
Thanks a lot for this @KimYangOfCat I'm still waiting for vitepress to support i18n in their newer versions, that way, the font will also be changed. Hopefull this change should be really close
@posva I've looked at the progress of vitepress i18n and it's only about 50%, so there may be some time before it's actually released. Perhaps you could consider merging this PR first, and then I would upgrade the dependencies and modify the configuration once vitepress i18n is officially released. I believe this would not cause any more work, and it would be a good transition solution. Do you have any other concerns?
pnpm-lock changes removed. thanks for merging! In the future, I am willing to help fix any problems about the Chinese documentation.
Amazing merge! Does this mean that we now have open doors for other languages? @KimYangOfCat, can we have some README.md with basic instructions for adding other languages?
Thanks for your interest! Other languages will be kept in other repositories, following the guide at https://github.com/vuejs-translations/guidelines/blob/main/README.md
Right, but they will be in the language dropdown of the main site (https://pinia.vuejs.org/) or it will be another url.
in the dropdown, pointing to an external site
Later, will the docs package be split into a new repository of the vuejs-translation org? Same as vue docs? maybe we should open a new issue to discuss this.
Later, will the docs package be split into a new repository of the vuejs-translation org? Same as vue docs? maybe we should open a new issue to discuss this.
See also https://github.com/vuejs-translations/docs-zh-cn/discussions/561