@wuchale/vite-plugin 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# `@wuchale/vite-plugin`
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@wuchale/vite-plugin) 
|
|
4
|
+
|
|
5
|
+
The official Vite plugin for `wuchale`.
|
|
6
|
+
|
|
7
|
+
**`wuchale`** is a non-invasive, normal code based compile-time internationalization (i18n) toolkit.
|
|
8
|
+
|
|
9
|
+
- **🔤 No extra syntax!** - your normal code is enough
|
|
10
|
+
- **📦 Tiny catalogs to bundle** - Text catalogs are just arrays, no keys necessary, like Protobuf
|
|
11
|
+
- **🔧 Zero-effort integration** - Add i18n to existing projects without rewriting code
|
|
12
|
+
- **🤖 Optional AI translation** - Gemini integration for automatic on-the-fly translations
|
|
13
|
+
- **🔄 Full, granular HMR support** - Live updates during development, including AI auto-translation
|
|
14
|
+
- **📦 Tiny footprint** - Only 2 or 3 additional dependencies (`wuchale` + `pofile`), no bloated `node_modules`
|
|
15
|
+
- **🎯 Smart extraction** - Uses AST analysis: handles nested markup, conditionals, loops, and complex interpolations
|
|
16
|
+
- **🌍 Standard .po files** - Compatible with existing translation tools and workflows
|
|
17
|
+
|
|
18
|
+
## 📚 Documentation
|
|
19
|
+
|
|
20
|
+
See the full guide at: [wuchale.dev/adapter/svelte](https://wuchale.dev/adapters/svelte).
|