The Prismic & Gatsby multi-language example website is a boilerplate starter that demonstrates how to combine the Gatsby.js static site generator with the Prismic headless CMS to deliver content in multiple languages.
What is the Prismic and Gatsby multi-language example website?
The Prismic and Gatsby multi-language example website is a reference implementation published by Prismic that pairs the Gatsby.js static site generator with a Prismic content repository to build a site whose content is available in several languages. It takes Prismic as the content management system and Gatsby as the rendering framework, producing a static site whose pages are pre-built by Gatsby using data pulled from Prismic. The project is licensed under Apache 2.0 and was published by Prismic in 2021.
Key Features
- Multi-language architecture — The example is purpose-built to show how to handle content for multiple languages through Prismic, with Gatsby serving localized pages.
- Gatsby.js framework — Built on Gatsby, the site uses GraphQL to query content from Prismic and generates static pages at build time.
- Prismic content integration — Prismic is the content source, letting editors manage texts in different locales without touching code.
- React components — The site's user interface is written in React, the same component model Gatsby uses for page templates.
- Apache 2.0 license — The code is freely usable and modifiable under the permissive Apache 2.0 license, with copyright held by Prismic.
- Vercel deployment support — The repository metadata lists vercel as a topic, indicating the starter is suitable for deployment on Vercel.
- Official Prismic documentation links — The repository links to a dedicated Prismic project guide and to the Prismic + Gatsby documentation, so developers can follow along.
Who should use this Prismic and Gatsby example?
Developers building multilingual Gatsby websites can use this example as a starting point for structuring Prismic content and GraphQL queries across locales. Teams evaluating Prismic as a headless CMS can run this project to see how multi-language content is modeled, queried, and rendered in Gatsby. Anyone maintaining a Gatsby site that needs i18n can study the repository to understand how Prismic's localization features connect to Gatsby's static generation.
What can you do with this multi-language Gatsby template?
- Evaluate Prismic for a multilingual project: Run the example locally and inspect how the site switches between languages and renders localized content.
- Start a new Gatsby site with content in multiple languages: Use the repository as a scaffold and replace the sample content with your own Prismic content models.
- Learn Gatsby and Prismic integration: Follow the linked Prismic documentation to install the Gatsby source plugin and query localized content.
How does the Prismic Gatsby example website work?
The repository points to a dedicated Prismic project guide that explains how to create a Prismic repository, configure content types, and run the Gatsby development server. Because the template uses Gatsby, content is fetched at build time from Prismic and turned into static HTML files that can be hosted anywhere. This example specifically shows how to manage locale-specific versions of the same content and expose them to the Gatsby site.
FAQ
Is the Prismic and Gatsby multi-language example free to use?
Yes, the project is licensed under Apache 2.0, which permits free use, modification, and distribution with attribution to Prismic. There are no usage fees or restrictions other than following the license terms.
Do I need a Prismic account to run this template?
Running the example with live content requires a Prismic repository, so you will need to create a Prismic account to connect content. The linked Prismic project guide covers the steps to link the Gatsby site to your repository.
What languages does the example support out of the box?
The template is designed as a multi-language example, but the repository does not list a fixed language set. You define the locales in your Prismic repository, and the site's demonstration reflects the languages you configure.
What is the license for the code?
An Apache 2.0 license is included, with copyright held by Prismic. This is a permissive open-source license that allows commercial and personal use as long as you retain the license notice.








