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.
The store header gets a language switcher.
Each page gets its own canonical URL and hreflang alternates, so search engines index every language.
Products and collections are content, not interface text, so they come from the catalog in whatever language it is written in.
scaffold --surfaces store --locales hu # Hungarian only
scaffold --surfaces store --locales en,hu # English, Hungarian at /hu