Localize prices in campaign artwork

Keep the approved amount and currency intact while formatting separators, symbol placement and line breaks for each locale.

Asset preparation3 min read

You have two versions of a campaign that quotes the same euro price. In US English it reads €1,234.50. In German for Germany it reads 1.234,50 €. The commas and periods do different jobs, and the currency symbol changes sides. Build the price string from the approved amount, currency and locale before fitting it into the artwork.

Format the approved price as one string

For this exercise the value is 1234.50 and the currency is EUR in both versions. In a real campaign, take each market’s amount and currency from the approved offer. The locale controls presentation. If the US offer actually uses USD, get that approved price first.

JavaScript
const amount = 1234.50;
const options = { style: "currency", currency: "EUR" };
new Intl.NumberFormat("en-US", options).format(amount);
new Intl.NumberFormat("de-DE", options).format(amount);

Copy the full result for each locale. The German example uses a period for grouping, a comma for the decimal and a nonbreaking space before €. If you need to diagnose a discrepancy, inspect formatToParts(amount) to see the group, decimal, currency and spacing separately. Check the output from the formatter that actually feeds the design. Unicode CLDR’s currency patterns describe how symbol and separator placement vary. ECMA-402 defines the JavaScript formatter.

Compare the language and the actual market price

Suppose the approved amount is 1,234.50 EUR in both language versions. The formatter produces €1,234.50 for US English and 1.234,50 € for German. The digits and currency represent the same amount. If the US shop instead has a separately approved price of 1,299.00 USD, its US-English artwork reads $1,299.00. This third price is invented for the exercise; it was not calculated from the EUR price.

Three sample price blocks: the same EUR amount in US English and German, followed by a separately specified USD price.

The sample includes an example deadline in America/New_York. The USD price and offer are fictional.

Download the price exercise. Save the attached ZIP from a PDF viewer that supports attachments, extract it and open price-check-en.html in a browser. It runs locally and lets you enter an approved amount, choose EUR, USD or GBP and select US English or German. It formats the number; it does not convert currency or retrieve a store price. The two shapes are text previews, so they cannot verify an exported ad.

Try the EUR amount in both languages, then enter the separately specified USD amount. For your campaign, replace the example with the amount and currency approved for that market. Copy the full offer condition and end time with its time zone. Open the intended product and variant in the correct market on the store and compare those details. If the shop uses a different amount or currency, resolve it before changing the artwork. After the promotion ends, check that the old offer is removed from the ads and shop.

Verify the narrowest export

  1. Paste each price into its own text layer. Keep the number and currency symbol together. Leave room for any approved period or qualifier, such as “per month.”
  2. Check the smallest layout. A symbol stranded on a second line or a decimal digit hidden by an overlay changes what the reader sees. If Illustrator breaks the price or qualifier, group the meaningful text range and recheck for overflow.
  3. Open each exported image and compare what you can read with the approved offer and the corresponding landing page. Verify the currency, separators, digits and billing period. Fix a genuine market mismatch at its source before exporting again.
Image tools
All guides
Localize prices in campaign artwork | Formatry Media — Formatry