Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js + Lingui static site template with multilingual support, SSG, and real-time language switching.
Next.js Lingui Template is an Apache-licensed boilerplate that combines Next.js static site generation with the Lingui JavaScript i18n library to produce server-rendered, multi-language static websites.
This template is a GitHub repository that demonstrates how to build a static web app with internationalization using Next.js and Lingui. It takes React components and translation message catalogs as input and outputs pre-rendered HTML pages for multiple languages at build time. The project runs on Node.js with Next.js as the React framework and Lingui handling message extraction, pluralization, and locale formatting. It is published on GitHub by developer Nekofar, with the repository badges linking to his X and Warpcast profiles.
After clicking "Use this template" and cloning the new repository, you run pnpm install to install dependencies, then pnpm run dev to start the development server on localhost:3000. The build pipeline pre-renders every page for each configured locale at build time, while Lingui extracts translatable strings from the source. The README also documents contribution steps for those who want to fork the repo and submit changes to the main branch.
