DEV Community

loading...
Cover image for Next-translate 1.0 demo - I18n your Next.js +10 pages in an easy way

Next-translate 1.0 demo - I18n your Next.js +10 pages in an easy way

Aral Roca
Preact - Next.js - Deno - SSR - SSG 💻 Open source 📂 Machine learning 🤖 Books 📖 Sport 🏃‍♂️ Nature 🌱 Focus on being useful. I contribute AMAP to the OSS community. Love learning by doing.
・1 min read

I want to share a small demo of what version 1.0 of next-translate will be like.

Now with Next.js +10 the i18n routing support is in the core, but we still need an easy system to load the translations without having to overwrite page by page the getStaticProps, getInitialProps, or getServerSideProps methods. Next-translate offers a solution through a Next.js plugin that automatically loads only the necessary files for each page and language. Fully compatible with SSG.

GitHub: https://github.com/vinissimus/next-translate/tree/1.0.0-experimental

Discussion (0)

Forem Open with the Forem app