To build on the Using Contentful example site using the i18n community plugin, this starter repo shows a language switcher and the bilingual content only for the selected language (codes en-US and de).
Please take a look at the issue queue to help out and feel free to submit PRs :)
See DEMO.
First, create a new Gatsby site from the starter:
$ gatsby new my-fun-site https://github.com/mccrodp/gatsby-starter-contentful-i18n.git
From your project's root, make sure dependencies are installed and start the Gatsby development server.
$ npm i
$ gatsby develop
Want to deploy on Netlify?