Skip to content

Multi-language support #3

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

Closed
iluwatar opened this issue Mar 5, 2021 · 4 comments
Closed

Multi-language support #3

iluwatar opened this issue Mar 5, 2021 · 4 comments
Assignees
Labels
type: enhancement New feature or request
Milestone

Comments

@iluwatar
Copy link
Owner

iluwatar commented Mar 5, 2021

Vuepress.js default theme comes with great support for multilingual sites. In this issue let's configure the site so that it enables switching the language and browsing to pages produced in other languages.

@iluwatar iluwatar added type: enhancement New feature or request info: help wanted Extra attention is needed labels Mar 5, 2021
@iluwatar iluwatar self-assigned this Oct 12, 2021
@iluwatar iluwatar removed the info: help wanted Extra attention is needed label Oct 12, 2021
@iluwatar iluwatar added this to the 1.0.0 milestone Oct 31, 2021
@iluwatar
Copy link
Owner Author

Done for single language. The web site can now switch between English and Chinese. Other languages can be added similarly. Basically, the steps are

  • Add a new locale to config.js and the necessary toolbar items for navigation
  • Edit build.sh to move the markdown pages (patterns, principles, snippets) to correct location

@diegoborbadev
Copy link

Can I contribute with a Portuguese translation?

@iluwatar
Copy link
Owner Author

Sure! More languages are welcome. Create an issue for that and follow similar steps as here: #27

@diegoborbadev
Copy link

Created #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants