New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-plugin-language-selected

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-language-selected

a plugins for gitbook for language selected

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

GitBook Plugin: Language Picker

Usage

  1. Update plugins in book.json file to include language-picker plugin.
{
    "plugins": [
        "language-picker"
    ]
}
  1. Run gitbook install in console to install plugins.

  2. You'll find "globe" icon in toolbar.

How this works

Click that icon, dropdown menu will show you a grid with references to all languages that you set in root file LANGS.md.

Access to ../index.html ("Select language" page) required, so don't try to retrieve languages locally yet.

After selecting language browser will be moved to translated version of current page.

Configuration

You can set:

  • Columns count of languages grid (grid-columns) - (default: 3).

Add into book.json

    "pluginsConfig": {
        "language-picker": {
            "grid-columns": 3
        }
    }

Why it's not using flags?

There is dialect and also country division. So I don't want to split languages on both; you can read other good information about it and think about that doing it or not yourself.

FAQs

Package last updated on 30 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc