vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
11.48k stars 1.86k forks source link

docs: add `zh-CN` translation #2249

Closed vanchKong closed 4 months ago

vanchKong commented 1 year ago

commit about:

translation details:

preview link https://deploy-preview-2249--vitepress-docs.netlify.app/

CHOYSEN commented 1 year ago

refs https://github.com/vuejs/vitepress/issues/1285 https://github.com/vuejs/vitepress/pull/1593

awxiaoxian2020 commented 1 year ago

So should I close my PR? I'm busy these days indeed...But I actually want to update it later...

brc-dd commented 1 year ago

@awxiaoxian2020 Let's keep both open for now. We'll decide once we reach beta.

awxiaoxian2020 commented 1 year ago

I don't think we need two translation PRs because our goal is the same one. @vanchKong Could you please add me and @shellRaining collaborate your repo so that we can opt the translations conveniently?

I will close my PR at an appropriate time.

brc-dd commented 1 year ago

Okay sure. Yeah it will be better if you all can collaborate together. Initially I was thinking to cherry pick stuff from both. So yeah if we can have one PR with best of both, then that would be great.

taozuhong commented 9 months ago

could use zh-Hans/zh-Hant instead zh-CN?

vanchKong commented 6 months ago

I don't think we need two translation PRs because our goal is the same one. @vanchKong Could you please add me and @shellRaining collaborate your repo so that we can opt the translations conveniently?

I will close my PR at an appropriate time.

Done! sorry for the late reply

awxiaoxian2020 commented 6 months ago

@vanchKong Please fix typo in title, it's translation.

vanchKong commented 6 months ago

What's the plan about this pr? @brc-dd

awxiaoxian2020 commented 6 months ago

The PR will be considered when the VitePress is at release stage.@vanchKong

brc-dd commented 6 months ago

Yeah, like @awxiaoxian2020 said. It'll be merged as we are close to v1.

brc-dd commented 6 months ago

Just a tip -- run npx simple-git-hooks -- it will add prettier to your git hooks, and CI won't fail because of that then (unless you're running git commit with --no-verify).

brc-dd commented 4 months ago

Hi guys, thanks a lot for maintaining this! Is this ready to merge or are there any blockers/TODOs? If you guys are fine, we can merge this by this week. (we are planning to release v1 in few days)

awxiaoxian2020 commented 4 months ago

@brc-dd I have checked these files to ensure the translations line by line with the English content, and we have over 10000 rows which is not perfect but can be improved by contributors easily. So on my side, This PR can be merged now.