wechaty / docusaurus

Wechaty Official Website for Documentations, Powered by Docusaurus.
https://wechaty.js.org/docs/
Other
112 stars 345 forks source link

the i18n url should be `/docs/zh/` instead of `/zh/docs` because the `/docs` is the docusarus root path. #1522

Closed huan closed 1 year ago

huan commented 1 year ago

@hcfw007 Could you please help us to send a PR to change it?

Thanks!

hcfw007 commented 1 year ago

Why it should be /doc/zh? Other part of the website could also be muti-localed, although not yet

hcfw007 commented 1 year ago

Take the home page as example. If we make a Chinese version of it, the url should be https://wechaty.js.org/zh

Afterall i18n should be a function of the whole website, not just for docs.

huan commented 1 year ago

After thinking for a while, I would like to agree with you.

Thank you very much for the explanation, appreciate it!