aralroca / next-translate-plugin

Next-translate plugin for i18n in Next.js 🌍 - Load page translations and use them in an easy way!
MIT License
30 stars 17 forks source link

All Contributors

Next-translate-plugin

Webpack plugin

(Maybe TurboPack in the future)

next-translate

[![npm version](https://badge.fury.io/js/next-translate-plugin.svg)](https://badge.fury.io/js/next-translate-plugin) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/aralroca/next-translate-plugin/blob/main/CONTRIBUTING.md) follow on Twitter

Two of the goals of next-translate is to be a tiny library (~2kb) and to have no external dependencies.

Since this plugin uses TypeScript compiler dependency, and we don't want you to have to bring extra kb into the pipeline, we have chosen to separate next-translate and next-translate-plugin with two distinct packages.

This way you can save this as devDependencies instead of dependencies.

yarn add next-translate-plugin -D

or

npm install next-translate-plugin --save-dev

Documentation

All the documentation is in Next-translate repository:

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Josef Hes
Josef Hes

💻