PShowcase
EN NL
19 / 20

Bilingual

This whole deck is bilingual. Flip the switch in the header.

.phlo
// bilingual text: write the source once, the rest is cached per language
<h1>{en: Welcome}{nl: Welkom}</h1>
<p>{{ en('One language. One platform.') }}</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.