How to handle internationalization / localization using Gatsby JS?

I would like to publish my static site on different local networks around the world with localized content.

How to do it?

+7
gatsby
source share
2 answers

There is a gatsby-plugin-i18n community plugin that you could "use [...] with a response-intl, i18next or any other i18n library. This plugin does not translate messages, it just creates routes for each language, and you can use different layouts for each language if you want. " (quoting the README plugin).

Its first release is dated August 30, 2017, so maybe you have already stumbled upon it ?!

+1
source share

fyi: there is a blog post describing step by step how to use this gatsby-plugin-i18n community plugin in combination with i18next ( react-i18next )

0
source share

All Articles