Skip to content

AbnerXin/gitbook-plugin-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-i18n

This plugin adds i18n buttons in the GitBook website toolbar to implement i18n according different url.

Use this plugin

add a book.json configuration to use this plugin:

{
    plugins: ["i18n"]
}

Configuration

This plugin can be configured in the book.json:

configuration is:

{
    "pluginsConfig": {
        "i18n": {
            "all": [
                "english", "chinese"
            ],
            "ChineseUrl": "../zh-CN",
            "EnglishUrl": "../en-US"
        }
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published