Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby starter with Contentful and i18n plugin for a language switcher with bilingual content (en-US, de).
Gatsby Contentful i18n is a Gatsby v2 starter template that adds bilingual content support and a language switcher to a Contentful-powered site, built on the official using-contentful example and the gatsby-plugin-i18n community plugin.
This starter repo, created by GitHub user mccrodp, takes the official Gatsby "using-contentful" example and pairs it with the gatsby-plugin-i18n community plugin from angeloocana. It accepts Contentful content localized into two locales — en-US and de — and outputs a static Gatsby site that renders only the content for the currently selected language. The template includes a language switcher component and is upgraded to Gatsby v2. A live demo is hosted on Netlify at gatsby-starter-contentful-i18n.netlify.com.
gatsby new my-fun-site pointing to this repository's URL.Developers who want a bilingual Gatsby site backed by Contentful will find this starter a ready-made foundation. It is also useful for teams evaluating how gatsby-plugin-i18n works with Contentful's localization feature. The template suits those who prefer starting from an official example rather than wiring i18n from scratch.
The quick start is three commands: run gatsby new with the repository URL to create a new project, run npm install to install dependencies, then gatsby develop to start the development server. The Netlify deploy button handles the build and hosting setup automatically.
Yes, it is an open-source starter hosted on GitHub. There are no paid tiers or subscription requirements; you pay only for any hosting or CMS services you choose to use (Contentful itself has its own pricing).
The starter ships with two locales: en-US and de. The language switcher toggles between these two codes, and the site shows content only for the selected language.
Yes, the repository description explicitly says it is upgraded to Gatsby v2.
It is a community plugin by angeloocana that adds i18n routing and content filtering. The starter uses it to determine which localized Contentful entries to display based on the active language.
The starter is configured for en-US and de, but because it uses gatsby-plugin-i18n and Contentful localization, you can extend the configuration to include additional locales if you have the corresponding content in Contentful.
