https://github.com/hemengke1997/vite-plugin-i18n-ally
Vite plugin for automatic lazy loading of i18n resources
https://github.com/hemengke1997/vite-plugin-i18n-ally
i18n internationalization vite-plugin
Last synced: 17 days ago
JSON representation
Vite plugin for automatic lazy loading of i18n resources
- Host: GitHub
- URL: https://github.com/hemengke1997/vite-plugin-i18n-ally
- Owner: hemengke1997
- License: mit
- Created: 2023-03-22T06:31:58.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-20T16:18:32.000Z (about 2 months ago)
- Last Synced: 2025-04-19T03:59:01.468Z (21 days ago)
- Topics: i18n, internationalization, vite-plugin
- Language: TypeScript
- Homepage: https://hemengke1997.github.io/vite-plugin-i18n-ally/
- Size: 3.96 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-vite - vite-plugin-i18n-detector - Lazyload i18n locale resources. (Plugins / Framework-agnostic Plugins)
README
![]()
vite-plugin-i18n-ally
## 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.
## 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 supportRead 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).