Bilingual
This whole deck is bilingual. Flip the switch in the header.
Read the docs →.phlo
// write the source once, en()/nl() translate and cache - with sprintf args
<h1>{en: Welcome}</h1>
<p>{{ en('Hi %s, you have %d new messages', $user->name, $count) }}</p>
// a missing key is translated on demand and cached in langs/<lang>.ini
You are reading this in English. Click Nederlands and the whole deck switches, instantly.
The lang resource caches translations per language and can auto-translate missing keys with AI. This deck ships both, so nothing is called at runtime.
