Skip to main content
Localization shows the checkout page and the Customer Portal in the customer’s language. It’s off by default. Until you enable it, both are shown in English.
Localization is in preview. You can turn it on yourself, no access request needed.

Enable localization

  • Open Settings → Preview Features
  • Turn on Localized Checkout
From the API, set feature_settings.checkout_localization_enabled with Update Organization. The examples use the sandbox and API version 2026-10:
Dashboard and API only. Not available from the CLI or MCP server.
The setting applies to checkout and the Customer Portal. The Embedded Payment Method takes its own locale option.

How the language is chosen

On the checkout page, the first match wins:
  1. The ?locale= query parameter on the checkout URL.
  2. The session’s locale, set when you create it.
  3. The customer’s browser language (Accept-Language).
A customer’s locale is saved on the customer after checkout and reused for their next checkout when no locale is set. You can also set it yourself with locale on the customer, for example polar customers update_external user_123 --locale fr. The Customer Portal uses ?locale=, then the customer’s saved locale, then the browser language. A region tag of a supported language, like en-CA or fr-BE, shows that language and formats dates and amounts for the region. Unsupported languages fall back to English. Invalid BCP 47 tags are rejected by the API.

Set the language for a session

Pass locale when you create a Checkout Session:
For a Checkout Link, add ?locale=fr to the link URL. With localization off, Polar creates sessions in English, whatever locale you pass.

Supported languages

Want to help review translations for an upcoming language? Email translations@polar.sh.

Limitations

There’s no language picker on the page. The language comes from the URL, the session, the customer or the browser.

Learn more