0.1.1 • Published 5 years ago

gatsby-plugin-modern-react-i18next v0.1.1

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

gatsby-plugin-modern-react-i18next

Gatsby plugin that provides i18n support.

Installation

  npm install --save gatsby-plugin-modern-react-i18next

Usage

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-modern-react-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