
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<h2 align="center">
    <b>Next-translate-plugin</b>
</h2>
<p align="center">
    <b>Webpack plugin</b>
</p>

<p align="center">
    (Maybe TurboPack in the future)
</p>

<p align="center">
    <img src="images/logo.svg" width="200" alt="next-translate" />
</p>

<div align="center">

[![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)
<a href="https://github.com/aralroca/next-translate/actions?query=workflow%3ACI" alt="Tests status">
<img src="https://github.com/aralroca/next-translate/workflows/CI/badge.svg" /></a>
<a href="https://twitter.com/intent/follow?screen_name=aralroca">
<img src="https://img.shields.io/twitter/follow/aralroca?style=social&logo=twitter"
            alt="follow on Twitter"></a>

</div>

<hr />

Two of the goals of **[next-translate](https://github.com/aralroca/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.

```sh
yarn add next-translate-plugin -D
```

or

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

## Documentation

All the documentation is in Next-translate repository:

- [Next-translate GitHub repository](https://github.com/aralroca/next-translate)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tbody>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/bluelakee02"><img src="https://avatars.githubusercontent.com/u/72526240?v=4?s=100" width="100px;" alt="Josef Hes"/><br /><sub><b>Josef Hes</b></sub></a><br /><a href="https://github.com/aralroca/next-translate-plugin/commits?author=bluelakee02" title="Code">💻</a></td>
    </tr>
  </tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

- [Contributors list is in Next-translate GitHub repository](https://github.com/aralroca/next-translate#contributors-)