Site Config has a Localisation section with languages, a default language, currencies, a default currency and a language switcher. Saving them changes very little on the site. This page says exactly what each one does, what the shop really shows and charges, and how to serve another language or market with what exists.
Related: the share tags (og:locale) are in Site identity, SEO tags and link sharing. Stores and regions are in Business locations, hours and sales tax. Copying a page for a translation is Copy a page as a template. A site per language is Create, clone or template a site. Formatting on a page is in The AppMint JS engine on a page.
"Tested" means rendered on a local site in headless Chrome. Everything else is read from the code, with the file named.
What each setting does
Studio: Site Config › Localisation ("money and language", websitemint welcome-screens/site-config-form.tsx 859–889). Save changes writes the whole site record back, keeping only features from the server copy (177–194).
Field (site.data) | Studio | Values | What reads it | Effect on the site |
|---|---|---|---|---|
languages | Languages offered | ISO 639-1 codes, such as fr, en (dbsdk getLanguages) | base-app meta.tsx 101; the course player | og:locale when no default is set; nothing else |
defaultLanguage | Default language (one of languages) | a code | meta.tsx 101; ContentPlayerRoute.tsx 59 | og:locale (fr → fr, fr-FR → fr_FR; none → en_US); the course player's last-choice language |
languageSwitch | Language switcher, "How visitors change language." | icons, full, none | nothing | none. No switcher is drawn. |
currencies | Currencies offered | ISO 4217 codes, such as EUR (dbsdk getCurrencies) | returned by the store data call (storefront.catalog.service.ts 42) | none. No screen uses it. |
defaultCurrency | Default currency (one of currencies) | a code | nothing | none |
storefront.businessLocations | Site Config › Storefront › Regions this site serves (833–839) | location names | the store's region logic | which store a shopper buys from: its products, prices, stock and tax. See Business locations. Not language, not currency. |
There is no exchange rate, conversion, rounding rule, "prices include currency" switch or per-visitor currency anywhere: not on the site record, not in the org's settings, not on products (searched in appengine, base-app and Studio). A product's price is a plain number.
Language
What every page says
| Value | Where | |
|---|---|---|
<html lang> | always en | base-app app/layout.tsx 85. Tested on a French test locale: document.documentElement.lang was en. |
og:locale | defaultLanguage, else languages[0], with - turned into _; else en_US | app/[[...slug]]/meta.tsx 101–102, 147. Studio stores two-letter codes, so a French site gets og:locale fr. |
hreflang | none: no <link rel="alternate" hreflang> in the head, none in the sitemap | meta.tsx 117 (only canonical). Tested: 0 hreflang links. A hreflang link put in a page's own <head> ends up in the body, where search engines ignore it (Site identity). |
How a visitor's language is chosen
It isn't, except in one place. The site renderer reads no Accept-Language header, no language cookie, no ?lang= and no stored choice for pages, the store or the built-in screens (searched base-app src, including middleware.ts and the page runtime). The visitor's browser language does decide how numbers and dates are formatted (below), but not what text they read.
The one place: the course player (/content-player, Content Studio courses and posts). A post whose pages carry translations gets a language switch, with real hreflang on its links. The language shown is the one picked there (?lang=, kept on every link), else the reader's profile language, else the site's defaultLanguage, else as written (components/content-player/content-player.ts 263–281, 369–376; ContentPlayerRoute.tsx 57–65). Translations are made by AI with POST business-made/training/ai/courses/<id>/translate { "languages": ["es"] } (appengine business-made/readiness-ai/readiness-ai.controller.ts 56–59). Full detail: The content player.
What can be translated
| Content | Translations |
|---|---|
| Course and post pages | yes, as above |
| Site pages | no. A page has one set of screens. |
| Products, categories, the store, checkout, sign-in, My Account | no. The platform's own screens are English. |
| Email and SMS templates | no; write one template per language |
Translation Manager (/translation, "translate text") | Saves key/value records (datatype: translation: name = key, group, item[] = { language, value }). Nothing on the site reads them (searched base-app). |
Serving another language with what exists
| Need | Do this |
|---|---|
| A few pages in a second language | A page per language at its own address, such as /fr/about as a child of a fr page, or about-fr. Copy the English page with Copy a page as a template and replace its text. Put the switch in the root header as plain links (Shared header and footer). |
| A whole site in another language, found by search engines in that language | A separate site per language, on its own domain or subdomain (Create, clone or template a site), with that site's defaultLanguage set so og:locale matches. <html lang> still says en. |
| Course content in several languages | Content Studio translation, above. |
Write the translated text yourself or with the person; don't machine-translate a page without saying so.
Money
What the shop shows
| Where | How it's written | Currency |
|---|---|---|
| Built-in cart and checkout lines and totals | $ + the number to 2 decimals (components/storefront/Cart.tsx 16, 344–474; CheckoutCart.tsx 14) | always $ |
| Gift cards, store credit, subscriptions, the order receipt | Intl.NumberFormat('en-US', { style: 'currency', currency }), with the record's currency, else USD (SubscribeBox.tsx 7, OrderReceipt.tsx 85, my-account/Subscriptions.tsx 14) | the record's |
A page's own data-format="currency" | Intl.NumberFormat(<visitor's browser locale>, { style: 'currency', currency: <data-format-opt-currency or USD> }) (runtime/dispatcher.ts 948–956) | USD unless the element names one |
Product JSON-LD offer (/product?slug=) | priceCurrency USD (app/[[...slug]]/page.tsx 85) | always USD |
{{currency x}} in an email template | US dollars (Email and SMS templates) | always USD |
Tested, the same value 1234.5 on one page:
| Element | Browser en-US | Browser fr-FR |
|---|---|---|
data-format="currency" | $1,234.50 | 1 234,50 $US |
… data-format-opt-currency="EUR" | €1,234.50 | 1 234,50 € |
… data-format-opt-currency="JPY" | ¥1,235 | 1 235 JPY |
data-format="number" | 1,234.5 | 1 234,5 |
So the currency is the page's choice and the separators are the visitor's. Nothing converts the number: EUR on a price stored as 1234.5 shows €1,234.50.
window.appmint.storefront.config() (documented as "Public storefront config (currency…)") calls GET /storefront/config, which doesn't exist (base-app runtime/namespaces.ts 608). Tested: 404 Cannot GET /storefront/config.
What checkout charges
| Step | Currency | Code |
|---|---|---|
| The built-in checkout sends the order and the payment | currency: "USD", written into the page (components/storefront/Checkout.tsx 530, 565, 867, 1076) | base-app |
| The order | the request's currency, else USD → order.data.currency | appengine storefront/storefront.order.service.ts 1707, 2040 |
| Stripe | the payment's currency (default usd), amount in minor units: × 100 and rounded, or rounded to a whole unit for zero-decimal currencies (JPY, KRW, VND, CLP, XOF and 10 others) | integrations/stripe/stripe.provider.ts 147–172; stripe-client.ts 33–48 |
| Invoices | the invoice's currency, else USD | storefront/services/invoice.service.ts 156 |
| Price lists, gift cards, subscription plans, shipping rates | each has its own currency label, default USD, used as a label only (storefront/services/pricing.service.ts 339–364, 1241) | appengine |
| Sales-channel listings | site.data.currency, a field the site doesn't have, so USD (storefront/storefront.partner-sync.service.ts 133) | appengine |
So the built-in shop charges US dollars, with the product's number as the amount. A shop that enters its prices in euros is charged those numbers in dollars. Prices are stored as typed, the cart total is rounded to cents by Stripe's minor-unit conversion, and no other rounding rule exists.
The order and payment calls take a currency from the request, so a custom checkout page could ask for another one. Not tested, and the built-in checkout, cart and receipt screens would still show $. Don't build one without the person's say-so and a test payment on their own Stripe account.
Ask first
- Which site? All of this is per site.
- Languages: which ones, which is the main one, and which pages or products must be in each. Who writes the translations?
- Money: what currency the business sells in, and which country its payment account (Stripe) is set up in.
- Regions: do different stores sell different things or prices? That's regions, not currency: Business locations.
Steps
1. Site Config: read what's set
repo_find on site ({ "data.name": "<site>" }), then repo_find_one with its id. Note languages, defaultLanguage, languageSwitch, currencies, defaultCurrency and storefront.businessLocations.
Then tell the person, in their words, what these do today (the table at the top): the language settings change the share tags and the course player only, and the currency settings change nothing.
Hands on: the site's id and its current values. Check: Site Config › Localisation shows the same values.
2. Site Config: set the language and currency settings
Only when the person still wants them after step 1, for the share tag or for the course player. repo_update on site:
{ "datatype": "site", "id": "<sk>", "patch": { "languages": ["fr", "en"], "defaultLanguage": "fr", "currencies": ["EUR"], "defaultCurrency": "EUR" } }repo_update merges one level deep, so each key replaces that whole field. Use two-letter language codes, as Studio does; defaultLanguage must be one of languages, and defaultCurrency one of currencies.
Stop: on a live site this changes og:locale on every page at once. Say so and wait for yes.
Hands on: the saved values.
Check: step 6's tag read shows the new og:locale.
3. Build Studio: pages in another language
For each page the person wants translated:
- Copy it with Copy a page as a template to its language's address (
fr/<page>under a parent page namedfr, or<page>-fr). - Replace the text with the translation the person gave or approved. Keep the layout, links to other translated pages, and images.
- Give the copy its own
titleanddescriptionin that language (Site identity). - Add a plain link switch (
English · Français) to therootheader or to both pages.
For a whole site per language, clone it as in Create, clone or template a site, give the clone its own domain, and set its defaultLanguage.
Stop: on a site that serves drafts, each copy is live when it is created. Name the URLs and wait for yes.
Hands on: the translated pages' ids and URLs. Check: open each one; the text is in its language and the switch links both ways.
4. Storefront: prices and what checkout charges
Say plainly: the built-in checkout charges US dollars, and shows $, whatever the site's currency settings say.
- The business sells in US dollars: nothing to do.
- It sells in another currency: the built-in shop can't charge it today. Tell the person; enter prices as they want them charged only after they understand checkout will call them dollars. Don't change prices or the payment setup to "fix" it.
- A price list, gift card or plan in another currency: its
currencyis a label. The amounts aren't converted.
Stop: before changing any price, list the products and old and new prices, and wait for yes.
Hands on: what the person decided.
Check: a product page and the cart show the amounts the person expects, with $.
5. Build Studio: money on your own pages
On a page you build, format each price with the currency the business sells in:
<span data-bind="data.price" data-format="currency" data-format-opt-currency="EUR"></span>Without data-format-opt-currency, it shows dollars. Put it on every money element. Never write a currency sign by hand next to a formatted value.
Hands on: nothing new. Check: open the page; each price shows the currency asked for.
6. Check it on the site
curl -s "https://<site host>/<slug>?cb=$RANDOM" | awk 'BEGIN{RS="</head>"} NR==1' \
| grep -oE '<html [^>]*>|<meta property="og:locale"[^>]*>|<link [^>]*hreflang[^>]*>'Expect <html lang="en", the og:locale from step 2, and no hreflang. For prices, open the page in a browser; data-format is applied in the browser, not in the HTML.
Hands on: the tags and prices seen. Check: they match what you told the person in step 1.
When it's done
Tell the person in one line each: which languages the site has pages in and where the switch is, what og:locale now says, that <html lang> stays en and no hreflang is sent, the currency the shop shows and charges (US dollars), and how page prices are formatted. Name the gaps below that affect them.
What it can't do yet
<html lang>is alwaysen, on every site and page (app/layout.tsx85). Tested.- No
hreflangon pages or in the sitemap, outside the course player. - No language choice for visitors outside the course player: no
Accept-Language, cookie or?lang=for pages. languageSwitch,currenciesanddefaultCurrencydo nothing on the site.- No page, product or store translation. Translation Manager records aren't read by the site.
- No multi-currency: no conversion, exchange rates, currency picker or per-region currency.
- The built-in checkout always charges USD and the cart always shows
$(Checkout.tsx867,Cart.tsx16). appmint.storefront.config()calls a route that doesn't exist (404).- Product JSON-LD always says
USD. - Sales-channel listings read a
site.data.currencyfield that doesn't exist, so they are alwaysUSD.
Don'ts
- Don't tell the person that adding a language or currency in Site Config translates or converts anything.
- Don't change product prices to "convert" them without a yes per product.
- Don't write a currency sign next to a
data-format="currency"value, and don't leave outdata-format-opt-currencyon a non-dollar site. - Don't put
hreflanglinks in a page's head; they end up in the body. - Don't machine-translate a page and publish it without the person reading it.
- Don't build a checkout in another currency without a test payment on the business's own account.