For the complete documentation index, see llms.txt. This page is also available as Markdown.

Localizing Pages

Selling across markets means serving the right language and the right currency to each visitor. PeakCommerce localizes the buying experience by language and currency so you don't script translations by hand or maintain a separate storefront per region — one set of pages adapts to whoever lands on it.

How it works

Localization is driven by Market Studio. A visitor's currency selects their market (each market sells in exactly one currency), and the market's Who gets what sentences decide the rest:

  1. The visitor's currency — from their entry link (for example ?currency=CAD) or detected from their locale — places them in a market.

  2. The market's ordered sentences assign language and, optionally, a profile (theming and configuration), matching on locale patterns (fr-*) or audiences.

  3. The Otherwise line fills anything the sentences left blank, so every visitor resolves a complete experience.

The page then renders in that language and currency.

Key concepts

  • Sentences, not per-page translation files. You localize centrally in Market Studio; the page surfaces the matched language and currency at render time.

  • Page copy is component-driven. Because pages are built from components, localized copy and per-market variants are managed in those components and shown according to the resolved market.

  • Otherwise is your safety net. It catches visitors no sentence matches, so there's never a blank or untranslated experience.

Gotchas

  • Sentences read top to bottom — the first line with an opinion about a facet decides it, so order them most-specific-first.

  • A currency a visitor explicitly arrived with is authoritative: sentences fill in the open facets but never switch the visitor's currency.

  • A currency no market serves is a reported gap — the visitor is offered the currencies you do sell in, never silently charged in another one.

See Market Studio to configure markets and sentences.

Last updated

Was this helpful?