1.1.8 • Published 6 years ago
@alxshelepenok/gatsby-plugin-i18next v1.1.8
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
1.1.8
6 years ago