This plugin adds i18n buttons in the GitBook website toolbar to implement i18n according different url.
add a book.json
configuration to use this plugin:
{
plugins: ["i18n"]
}
This plugin can be configured in the book.json
:
configuration is:
{
"pluginsConfig": {
"i18n": {
"all": [
"english", "chinese"
],
"ChineseUrl": "../zh-CN",
"EnglishUrl": "../en-US"
}
}
}