Skip to content
Sellzy

Languages and currency

Translate the storefront and set the currencies shoppers can pick.

Languages

The storefront ships in English, German, French, Italian and English (Singapore) with next-intl. Each page lives under its locale: /en/shop, /de/shop and so on.

File Purpose
apps/web/src/i18n/routing.ts The list of locales and the default
apps/web/messages/<locale>.json The translated text

Add a language

  1. Copy apps/web/messages/en.json to, for example, es.json and translate the values. Keep the keys.
  2. Add "es" to locales in apps/web/src/i18n/routing.ts.
  3. Restart pnpm dev:web. /es now works and appears in the language switcher.

Edit text

Find the text in en.json (and the other language files) and change it. Text from the CMS, such as product names, banners and pages, is edited in the admin.

Currency

Prices are stored in USD. Shoppers can switch to another currency on the storefront and in the mobile app, and prices are converted for display.

The list lives in apps/api/controllers/currencyController.ts and is served at GET /api/currencies:

const CURRENCIES = [
  { code: "USD", name: "US Dollar", symbol: "$", locale: "en-US", rate: 1 },
  { code: "EUR", name: "Euro", symbol: "€", locale: "de-DE", rate: 0.92 },
  // add or edit currencies here
];

rate is how many units equal 1 USD. Update the rates, or replace the table with a live exchange-rate service.

Note

Stripe charges in STRIPE_CURRENCY from the API settings. The currency switcher changes what shoppers see, not what Stripe charges.

Stuck? Run pnpm check:setup, check Troubleshooting, or contact support.