Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T11:04:31.000Z (about 2 months ago)
- Last Synced: 2024-12-04T15:49:58.285Z (about 1 month ago)
- Topics: i18n, internationalization, vite-plugin
- Language: TypeScript
- Homepage: https://hemengke1997.github.io/vite-plugin-i18n-ally/
- Size: 2.33 MB
- Stars: 11
- Watchers: 2
- 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).