You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After exploration with current working flow and code details, and tried to implement i18n with different approach. finally I think that the idea from @egoist's docute would be minimalistic and useful enough for now.
Let me describe the story.
Since most users (Vue is also the same) will only consider supporting the main language support at the beginning, so I pass in an array that contains link items to nav:
Then one day, I find I want to add translations for my docs, taking adding Chinese translation as an example, I will need to do the following work to achieve i18n:
Create a directory in the name of language at .vuepress
After exploration with current working flow and code details, and tried to implement i18n with different approach. finally I think that the idea from @egoist's docute would be minimalistic and useful enough for now.
Let me describe the story.
Since most users (Vue is also the same) will only consider supporting the main language support at the beginning, so I pass in an array that contains link items to nav:
Then one day, I find I want to add translations for my docs, taking adding Chinese translation as an example, I will need to do the following work to achieve i18n:
.vuepress
There is a WIP PR for this solution: https://github.com/ulivz/vuepress/pull/1 (i18n + Chinese Translations)
This solution also has some issues:
title
anddescription
at config. (Don't have a good idea now.)Here I just said my thoughts, free free to share your thoughts, so that we can deliver multiple language support faster and better.
Thanks.
@yyx990803 @egoist
Updated
Finished Chinese translation and open a complete PR: #48
The text was updated successfully, but these errors were encountered: