JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3482
  • Score
    100M100P100Q122539F
  • License MIT

Protobuf-like i18n from normal code

Package Exports

  • @wuchale/vite-plugin
  • @wuchale/vite-plugin/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wuchale/vite-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@wuchale/vite-plugin

npm version License

The official Vite plugin for wuchale.

wuchale is a non-invasive, normal code based compile-time internationalization (i18n) toolkit.

  • 🔤 No extra syntax! - your normal code is enough
  • 📦 Tiny catalogs to bundle - Text catalogs are just arrays, no keys necessary, like Protobuf
  • 🔧 Zero-effort integration - Add i18n to existing projects without rewriting code
  • 🤖 Optional AI translation - Gemini integration for automatic on-the-fly translations
  • 🔄 Full, granular HMR support - Live updates during development, including AI auto-translation
  • 📦 Tiny footprint - Only 2 or 3 additional dependencies (wuchale + pofile), no bloated node_modules
  • 🎯 Smart extraction - Uses AST analysis: handles nested markup, conditionals, loops, and complex interpolations
  • 🌍 Standard .po files - Compatible with existing translation tools and workflows

📚 Documentation

See the full guide at: wuchale.dev/adapter/svelte.