<p align="center">
  <img width="180" src="./assets/logo.svg" alt="i18n logo" />
</p>
<br/>

<h1 align="center">vite-plugin-i18n-ally</h1>

## Introduction

`vite-plugin-i18n-ally` is a Vite plugin that automatically collects i18n resources in the project and lazy loads them. It is based on the configuration of `vscode-i18n-ally`, so no additional configuration is required.

## Warning

Please follow the [migration guide](https://hemengke1997.github.io/vite-plugin-i18n-ally/migration/v6) if you are upgrading from v5 to v6.

## Features

- Automatically collect i18n resources in the project, no need to manually import resource files
- Lazy load resource files to reduce the size of initial load
- Use vscode-i18n-ally configuration, no additional configuration needed
- Fine-grained control over resource file size
- Out-of-the-box HMR support

Read the [documentation](https://hemengke1997.github.io/vite-plugin-i18n-ally/) for more information.

## Thanks

- [i18n-ally](https://github.com/lokalise/i18n-ally)
- [vite](https://github.com/vitejs/vite)

## License

Distributed under the [MIT license](/LICENSE.md).
