wuchale
πͺΆwuchale
is a non-invasive, normal code based compile-time internationalization (i18n) toolkit.
wuchale
+ pofile
), no bloated node_modules
wuchale
?Traditional i18n solutions require you to wrap every translatable string with
function calls or components. wuchale
doesn't.
<!-- Traditional i18n -->
<p>{t('Hello')}</p>
<p><Trans>Welcome {userName}</Trans></p>
<!-- With wuchale -->
<p>Hello</p>
<p>Welcome {userName}</p>
Write your code naturally. No imports, no wrappers, no annotations.
wuchale
handles everything at compile time.
Checkout examples to see how it can be used at wuchalejs/examples
.
This repo houses these packages:
wuchale
: Core + CLI + Vanilla adapter@wuchale/svelte
: Svelte adapterSee the full guide at: wuchale.dev.
Contributions are welcome! Please check out our test suites located inside each package for examples of supported scenarios.
Thank you @hayzamjs for sponsoring the project and using it in Sylve, giving valuable feedback!