1.1.10 • Published 4 years ago

gatsby-plugin-i18next v1.1.10

Weekly downloads
1,106
License
MIT
Repository
github
Last release
4 years ago

gatsby-plugin-i18next

Gatsby plugin that provides i18n support.

Installation

yarn add @igorko/gatsby-plugin-i18next
# npm install --save @igorko/gatsby-plugin-i18next

Usage

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `@igorko/gatsby-plugin-i18next`,
      options: {
        // Add any options here
      },
    },
  ],
}

Options

You can pass options to the plugin:

For example:

options: {
  availableLngs: ['en', 'de'],
  fallbackLng: 'en',
  siteUrl: 'https://www.example.com/',
}

Starters

gatsby-starter-i18next

Demo Source

  • i18next integration
  • automatic browser-language detection and redirection
  • language switcher
  • hreflang
  • ...

License

MIT

1.1.10

4 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.11

6 years ago

1.0.9

6 years ago

1.0.7

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago