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
Top comments (0)