Skip to content

nishidemasami/honkit-plugin-i18nsettings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

honkit-plugin-i18nsettings

This plugin adds language settings button in the Honkit website.

Enable this plugin

it can be enabled using a book.json configuration:

{
    plugins: ["i18nsettings"]
}

Configuration

This plugin can be configured in the book.json:

Default configuration is:

{
    "pluginsConfig": {
        "i18nsettings": {
            "language": "en",
            "languages": [
            {
                "config": "en",
                "text": "English"
            }]
        }
    }
}

Plugin API

This plugin exposes the following API to easily allow new themes to manage the plugin behavior.

All API functions are called using the prefix gitbook.i18nsettings., for instance gitbook.i18nsettings.changeLanguage().

About

Language settings the website for a better reading experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published