Overview of wuchale
mainwuchale is a compile-time internationalization (i18n) toolkit designed to add translation capabilities to your project without requiring code changes or special syntax. It uses AST analysis to automatically extract translatable text from your source code at build time.
Key features:
- No extra syntax: Write standard components; no special
t()functions or<Trans>components are required in your source. - Framework agnostic: Supports React, Preact, Svelte(Kit), SolidJS, Astro, and plain JS/TS via specific adapters.
- Smart extraction: Handles nested markup, conditionals, loops, and complex interpolations automatically.
- Compact catalogs: Translations are compiled into tiny, index-based arrays for minimal bundle size.
- LLM support: Configurable integration for automatic translations using LLMs.
- Full URL support: Handles path translations (e.g.,
/aboutto/de/uber-uns).