One setting gives a Once UI Stack store its language. Add a second and it serves /hu URLs with a switcher, a remembered choice and hreflang for search.
Every Once UI Stack app now has a language, set once when you start it. Give it Hungarian and the store speaks Hungarian. Give it English and Hungarian and it serves both, each at its own URL.
The first language is the default. It sets <html lang>, how prices are formatted, and which text the interface shows.
One entry per language
A surface keeps its interface text in one labels file, with one entry per language. Translating it means adding an entry, not editing components, which is exactly the kind of change an AI agent gets right.Every entry has the type of the first one, so a missing key fails the typecheck instead of showing up blank in production. The storefront has its labels file today, and the other surfaces follow.
Two languages, two sets of URLs
With two or more languages, /hu/store renders the same page as /store, in Hungarian. The default language keeps plain URLs.
The visitor's choice is remembered, so ordinary links keep a Hungarian reader in Hungarian. On the first visit, the browser's language decides.
scaffold --surfaces store --locales hu # Hungarian only
scaffold --surfaces store --locales en,hu # English, Hungarian at /hu