-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Sidebar links are not updated when changing language #454
Comments
check the https://github.com/vuejs/vuepress/blob/master/docs/.vuepress/config.js |
When using i18n, you need add module.exports = {
locales: {
'/': {
lang: 'en-US',
title: 'George\'s Journal',
description: 'A personal website and "blog", from me: George'
},
'/pt-BR/': {
// ...
}
},
themeConfig: {
locales: {
'/': {
sidebar: [
// ...
]
},
'/pt-BR/': {
sidebar: [
// ...
]
}
}
}
} |
Thanks. That was not clear on the docs and I did not tried on the
documentation (change locale).
Thanks
Em ter, 15 de mai de 2018 23:50, ULIVZ <[email protected]> escreveu:
… When using i18n, you need add locales as well as the themeConfig.locales:
module.exports = {
locales: {
'/': {
// ...
},
'/pt-BR/': {
// ...
}
},
themeConfig: {
locales: {
'/': {
sidebar: [
// ...
]
},
'/pt-BR/': {
sidebar: [
// ...
]
}
}
}
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#454 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA0rP7fFoO7IDogit4f7eTL-dcBKRjgmks5ty5QMgaJpZM4UAjLo>
.
|
This was referenced Apr 14, 2021
This was referenced Apr 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Congratulations on the project! Marvelous!
Minor problem:
The text was updated successfully, but these errors were encountered: