Check 26.08 · Editorial and keyword localization

Adapt currencies and units of measurement

Show prices, currencies and units in each market's format on WordPress, Shopify, PrestaShop, Magento, Laravel, Symfony or Next.js, consistent with schema and feeds.

Priority
Important
Difficulty
Intermediate
Estimated time
2 hours to 2 days
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Each version of a site must show prices in the target market's currency, in the local format, and measurements in the units its readers use. A Swiss price is written CHF 1’234.50 in Swiss German, a French price 1 234,50 €; a weight reads in grams in Europe and often in ounces in the United States. Once the task is done, each URL always shows the same currency, whatever the visitor's IP address, and the page, the structured data and the product feeds all say the same thing.

Why it matters

A visitor who has to convert a price or a measurement in their head hesitates and compares elsewhere. An ambiguous currency is worse: $ can mean US, Canadian or Australian dollars, kr Swedish, Danish or Norwegian kronor.

Search engines read this information too. Google Merchant Center requires you to show the price in the target country's currency on landing and checkout pages, to make the price in the product data match the price on the page, and to include VAT in the price for European Union countries, but not sales tax in the United States and Canada. Offer structured data declares the currency in priceCurrency, in ISO 4217 format (EUR, CHF, GBP).

There is also a technical trap: changing the currency of the same URL based on the visitor's IP address. Google states that Googlebot most often crawls from IP addresses that appear to be located in the United States: it may only see the dollar version, and visitors from other countries a price that does not match the displayed snippet.

On the generative engine side, assistants often answer price or budget questions in the user's currency. A clear price, in the right currency and consistent everywhere, limits errors when it is picked up. There is no guarantee the assistant will cite the right price, but contradictory data increases the risk of error.

What it improves

  • Conversion Prices and measurements readable without calculation.
  • Merchant listings and Shopping Fewer disapprovals in Merchant Center for inconsistent prices or currencies.
  • Structured data priceCurrency consistent with the page. See adapt Product and priceCurrency (opens in a new tab).
  • Crawling Each URL serves stable content, whatever the crawl country.
  • Generative engines Fewer wrong prices repeated in answers. Indirect effect, not guaranteed.
  • Rankings No direct effect.

How to check

Compare the price of the same product in each version, from two countries if possible:

for u in https://example.com/fr/thes/sencha/ https://example.com/de-ch/tees/sencha/ https://example.com/en-gb/teas/sencha/; do
  echo "== $u"
  curl -s "$u" | grep -o -E '"priceCurrency": ?"[A-Z]{3}"|"price": ?"?[0-9.]+' | sort -u
done

Expected result: a single currency per URL, the market's (EUR, CHF, GBP), and the same amount as the one shown on the page.

Also check:

  • Stability: the same URL, requested through a VPN or a proxy from another country, shows the same currency.
  • Format: thousands and decimal separators, symbol position, non-breaking space.
  • Units: weights, dimensions, volumes, temperatures and sizes in the market's units, everywhere (product pages, filters, tables, size guides).
  • Merchant Center: product diagnostics report neither inconsistent prices nor non-compliant currencies.
  • Rich Results Test on a product page of each version: priceCurrency present and correct.

How to implement

The examples follow Thé des Lisières, a fictional online shop selling loose-leaf tea in the euro area, Switzerland and the United Kingdom.

Before you start

Set these rules for every environment, in a table per market:

Market Currency Expected format Prices Units VAT
France (fr-FR) EUR 1 234,50 € Reference prices g, kg, cm, °C Included
Germany (de-DE) EUR 1.234,50 € Identical g, kg, cm, °C Included
Switzerland (de-CH) CHF CHF 1’234.50 Set in CHF, rounded g, kg, cm, °C Included (Swiss VAT)
United Kingdom (en-GB) GBP £1,234.50 Set in GBP g, kg (usual mentions in pounds possible) Included
United States (en-US) USD $1,234.50 Set in USD oz, lb, in, °F Excluding sales tax

The formats in this table are those produced by Intl.NumberFormat from Unicode CLDR data (checked with Node.js 22). Do not hard-code them: use your platform's formatting functions.

Basic rules:

  • One currency per URL. If visitors can change the currency, that choice must lead to another market URL or remain a clearly labeled indicative display; never serve a different default currency on the same URL based on IP. See serve the right content at the requested URL (opens in a new tab).
  • Remove ambiguity: CA$, US$, A$, or the ISO code, when several dollars could be confused; the same goes for kronor.
  • Set or converted prices: automatic conversion produces prices such as 37,83 CHF. For important markets, set round prices per market, or apply rounding rules.
  • Unit prices: in the European Union, Directive 98/6/EC requires the price per unit of measurement (per kilogram, per liter) to be shown for many products. A tea sold per 100 g therefore also shows its price per kilogram.
  • Units: the metric system everywhere, except in the United States, where US customary units dominate; in the United Kingdom, some imperial units remain common (miles, pints). For a mixed audience, show both: 100 g (3.5 oz).
  • Sizes and formats: clothing, shoes, paper sizes (A4 versus Letter), electrical power ratings and plugs are converted or explained.

Date and number formats other than prices belong to adapt date and number formats (opens in a new tab).

WordPress

Versions WooCommerce 10 and 11 on WordPress 6.9 to 7.1; WooPayments or WooCommerce Multilingual & Multicurrency 5 (WPML).

With WooCommerce, the base currency, the symbol position and the separators are set in WooCommerce > Settings > General, in the Currency options section. Weight and dimension units are set in WooCommerce > Settings > Products.

WooCommerce handles only one base currency. To show several currencies:

  • WooPayments: in Payments > Settings, then Advanced settings, check the multi-currency option and save. A multi-currency settings tab appears in WooCommerce > Settings, where you add currencies, exchange rates and rounding. WooCommerce points out that this option changes how prices are displayed, not the currency of payouts.
  • WPML: the WooCommerce Multilingual & Multicurrency extension assigns a currency to each language or country, with prices set manually per product if needed.

For consistent structured data, check that the SEO plugin or WooCommerce outputs priceCurrency in the currency shown on each version, and not always in the base currency.

Shopify

Versions Shopify admin, all plans, November 2026.

The store currency and the money format are in Settings > General, in the Store defaults section, along with the unit system and the default weight unit.

To sell in several currencies, open Markets in the admin, choose a market and set its currency. By default, Shopify converts prices at the market's exchange rate; you can set a manual rate (except for the primary market), apply rounding rules, or set prices product by product for a country through catalogs. All multi-currency features require Shopify Payments and one-page checkout.

In the theme, show the currency with the appropriate Liquid filter:

{{ product.price | money_with_currency }}

The unit price is entered on the product page (unit price field); the units offered depend on the unit system chosen in the general settings.

PrestaShop

Versions PrestaShop 8 and 9.

Currencies are managed in International > Localization, Currencies tab: add a currency, enable it, then update the exchange rates. The symbol and its position (before or after the amount, with or without a space) are set language by language by editing the currency.

Weight, distance, volume and dimension units are set in International > Localization, in the Local units section. A localization pack imported for a country sets the currency, language and units in one go.

Magento

Versions Magento Open Source and Adobe Commerce 2.4 (2.4.6 to 2.4.9).

In Stores > Settings > Configuration > General > Currency Setup, choose the scope at the top of the page:

  • Base Currency at the website level (Website): the transaction currency.
  • Default Display Currency and Allowed Currencies at the store view level (Store View): the currency displayed by default and the accepted currencies.

Update the rates in Stores > Currency > Currency Rates. The weight unit is set in General > General > Locale Options > Weight Unit. For different prices per website rather than converted prices, set Catalog > Catalog > Price > Catalog Price Scope to Website.

Laravel

Versions Laravel 11 to 13.

The Number helper formats an amount according to the language and currency (requires the PHP intl extension):

use Illuminate\Support\Number;

Number::currency(1234.5, in: 'EUR', locale: 'fr');    // 1 234,50 €
Number::currency(1234.5, in: 'EUR', locale: 'de');    // 1.234,50 €
Number::currency(1234.5, in: 'CHF', locale: 'de_CH'); // CHF 1'234.50 (apostrophe depends on the ICU version)

Centralize the currency per market in the configuration rather than in the views:

// config/markets.php
return [
    'fr' => ['currency' => 'EUR', 'locale' => 'fr_FR', 'units' => 'metric'],
    'de-ch' => ['currency' => 'CHF', 'locale' => 'de_CH', 'units' => 'metric'],
    'en-us' => ['currency' => 'USD', 'locale' => 'en_US', 'units' => 'us'],
];
{{-- resources/views/products/show.blade.php --}}
@php($market = config("markets.{$marketKey}"))

<p>{{ \Illuminate\Support\Number::currency($product->price, in: $market['currency'], locale: $market['locale']) }}</p>

Store prices per market in the database (a column or a price table per currency) rather than converting at display time, if you set round prices.

Symfony

Versions Symfony 6.4 to 8.1, Twig 3 with twig/intl-extra.

Install the Twig Intl extension (composer require twig/intl-extra, with twig/extra-bundle to enable it automatically), then:

{# templates/product/show.html.twig #}
<p>{{ product.price|format_currency(market.currency, locale=market.locale) }}</p>
<p>{{ product.weight|format_number(locale=market.locale) }} g</p>

Clear the cache after installation: php bin/console cache:clear.

Next.js

Versions Next.js 15 and 16; next-intl 4 (App Router) for the second method.

Intl.NumberFormat handles currencies and units with no dependency:

// lib/format.ts
export function formatPrice(amount: number, currency: string, locale: string): string {
  return new Intl.NumberFormat(locale, { style: 'currency', currency }).format(amount);
}

export function formatWeight(grams: number, locale: string): string {
  if (locale === 'en-US') {
    return new Intl.NumberFormat(locale, { style: 'unit', unit: 'ounce', maximumFractionDigits: 1 })
      .format(grams / 28.3495);
  }

  return new Intl.NumberFormat(locale, { style: 'unit', unit: 'gram' }).format(grams);
}

With next-intl, the formatter automatically follows the route's locale:

import { getFormatter } from 'next-intl/server';

const format = await getFormatter();
const price = format.number(29.9, { style: 'currency', currency: 'CHF' });

Render these prices on the server (server components, static generation) so that the initial HTML already contains the right amount.

Structured data

On each version, priceCurrency repeats the displayed currency and price the displayed amount, without a symbol:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Sencha Fukamushi",
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/de-ch/tees/sencha/",
    "price": "14.90",
    "priceCurrency": "CHF",
    "availability": "https://schema.org/InStock"
  }
}

Merchant Center feeds follow the same rule: for each country of sale, the price in the feed is the price on the landing page, in the country's currency. Merchant Center also offers currency conversion to target a country that does not use your currency; the converted price then appears only in the ad or the free listing.

Common mistakes

  • Changing the currency of the same URL based on IP: Googlebot, often crawling from the United States, sees dollars everywhere.
  • Showing $ alone on a site that sells in the United States and Canada.
  • Hard-coding the format ($prix . ' €'): separators and symbol position wrong in half the languages.
  • Converting without rounding: prices with random cents that change every day.
  • Forgetting units in filters and size guides, converting only the product page.
  • Leaving priceCurrency in the base currency while the page shows another currency.
  • Showing prices excluding tax to European consumers, or prices including all taxes in a US feed.

Frequently asked questions

Do you need a different URL for each currency?

Yes, when the currency is part of the market version: each URL must always show the same currency, the target country's. Changing the currency of the same URL based on the IP address causes problems, because Googlebot mostly crawls from IP addresses that appear to be located in the United States. A purely indicative currency switcher is still possible, provided the URL's default currency does not change.

Can you show automatically converted prices on an international site?

Yes, automatic conversion is acceptable to get started, provided the amount shown is the amount actually charged and matches the structured data and the product feeds. However, it produces hard-to-read prices that vary with exchange rates. For important markets, set round prices per currency or apply rounding rules, as Shopify, WooPayments and Magento allow.

Which units of measurement should you use for a site in English?

For a site in English, choose units according to the country, not the language. The United States mainly uses US customary units: ounces, pounds, inches, degrees Fahrenheit. The United Kingdom mainly uses the metric system, with a few common imperial units such as the mile or the pint. If the same version serves several countries, show both units, for example 100 g (3.5 oz).

Must the price include VAT in Google Merchant Center?

For European Union countries and several other countries, including the United Kingdom, Google Merchant Center requires a price including VAT, identical to the one on the landing and checkout pages. For the United States and Canada, on the other hand, the price must not include sales tax. Check the rules for the target country in the Merchant Center help page about the price attribute.

Updated on

Topic checklist (PDF)

And now?

In the “Editorial and keyword localization” topic

  1. Research keywords by language
  2. Research keywords by country
  3. Identify native expressions
  4. Analyze local volumes, competition and SERPs
  5. Identify local intent
  6. Adapt selling points
  7. Adapt cultural references and examples
  8. Adapt currencies and units of measurement
  9. Adapt date and number formats
  10. Adapt phone numbers
  11. Adapt regulatory and tax information
  12. Adapt payment methods
  13. Adapt delivery terms
  14. Have strategic pages reviewed by proficient speakers
  15. Maintain a glossary and translation memory