gitbook-plugin-i18n-revised

1.0.0 • Public • Published

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"
        }
    }
}

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i gitbook-plugin-i18n-revised

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

15.4 kB

Total Files

6

Last publish

Collaborators

  • joe_sky