1.1.8 • Published 6 years ago

@alxshelepenok/gatsby-plugin-i18next v1.1.8

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

gatsby-plugin-i18next

Gatsby plugin that provides i18n support.

Installation

yarn add @alxshelepenok/gatsby-plugin-i18next

Usage

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `@alxshelepenok/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/',
}

License

MIT