Check 30.18 · Multilingual tracking and maintenance

Synchronize facts and specifications

Keep figures, specifications, contact details and dates identical in every language: fields shared in the CMS and a script that checks for discrepancies.

Priority
Important
Difficulty
Intermediate
Estimated time
1 to 3 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

A fact does not get translated: the weight of a product, the length of a warranty, a phone number, a founding date or the number of users included in a plan must be the same in every language, formatting aside. The task consists of listing these facts, storing them once in fields shared between translations, and regularly checking that no version has kept an old value. Once it is done, changing a fact in the source language changes it everywhere, and a script compares the versions to detect any remaining discrepancies.

Why it matters

A translation freezes the text on the day it is made. If the fact is hard-coded in the description, every update in the source language creates a discrepancy: the warranty goes from two to three years in French, while the German page still says two years. Nobody rereads all twelve versions every time something changes.

These discrepancies have three effects:

  • Visitors: two contradictory pieces of information about the same product or service, depending on the language. For a contractual specification (warranty, compatibility, dimensions), it is also a risk of dispute.
  • Search engines: the structured data of one version may contradict that of another, and a product feed built from one language may contradict the page in another.
  • Generative engines: an assistant asked a question in German may rely on the German page and repeat the outdated figure. No vendor documents how it settles between two contradictory versions; removing the contradiction is the only safe measure, and even that does not guarantee a correct answer. See detect hallucinations by language (opens in a new tab).

What it improves

  • Accuracy of each version, without manual proofreading at every change.
  • Consistency between pages, structured data and product feeds in every language.
  • Maintenance cost A single entry per fact instead of one per language.
  • AI answers Less risk of an assistant citing an outdated figure in one language. Plausible effect, not measurable with certainty.
  • Rankings No direct effect.

How to check

Take ten fact-rich pages (product pages, pricing page, contact page, “about” page) and open their versions side by side. Then automate with this dependency-free Python script. For each URL in the list, it reads the versions declared in the hreflang tags, extracts the factual properties from the JSON-LD and the numbers from a specifications area, then reports what differs from one language to another:

#!/usr/bin/env python3
"""Usage: python3 faits.py urls.txt > ecarts.csv"""
import csv
import json
import re
import sys
import urllib.request
from html.parser import HTMLParser
from urllib.parse import urljoin

FACTS = {"sku", "gtin13", "gtin", "mpn", "weight", "width", "height", "depth",
         "telephone", "postalCode", "streetAddress", "foundingDate", "numberOfEmployees"}
SPECS = ("product-specs", "fiche-technique")  # class or id of the specifications area
NUMBER = re.compile(r"\d(?:[\d.,\s  ]*\d)?")
HEADERS = {"User-Agent": "audit-faits"}


class Page(HTMLParser):
    def __init__(self, base):
        super().__init__()
        self.base, self.alternates, self.jsonld, self.numbers = base, {}, [], []
        self.in_jsonld, self.tag, self.level = False, None, 0

    def handle_starttag(self, tag, attrs):
        a = {k: (v or "") for k, v in attrs}
        if tag == "link" and "alternate" in a.get("rel", "") and a.get("hreflang"):
            self.alternates[a["hreflang"]] = urljoin(self.base, a.get("href", ""))
        self.in_jsonld = tag == "script" and a.get("type") == "application/ld+json"
        if self.in_jsonld:
            self.jsonld.append("")
        if self.tag is None and any(m in f"{a.get('class', '')} {a.get('id', '')}" for m in SPECS):
            self.tag, self.level = tag, 0
        if tag == self.tag:
            self.level += 1

    def handle_endtag(self, tag):
        self.in_jsonld = False
        if tag == self.tag:
            self.level -= 1
            if self.level == 0:
                self.tag = None

    def handle_data(self, data):
        if self.in_jsonld:
            self.jsonld[-1] += data
        elif self.tag:
            self.numbers += [re.sub(r"\D", "", n) for n in NUMBER.findall(data)]


def walk(node, found):
    if isinstance(node, list):
        for item in node:
            walk(item, found)
    elif isinstance(node, dict):
        for key, value in node.items():
            if key in FACTS and not isinstance(value, (dict, list)):
                found[key] = str(value).strip()
            elif key in FACTS and isinstance(value, dict) and "value" in value:
                found[key] = f"{value['value']} {value.get('unitCode', '')}".strip()
            else:
                walk(value, found)


def facts(url):
    with urllib.request.urlopen(urllib.request.Request(url, headers=HEADERS), timeout=20) as r:
        page = Page(url)
        page.feed(r.read().decode("utf-8", "replace"))
    found = {}
    for block in page.jsonld:
        try:
            walk(json.loads(block), found)
        except json.JSONDecodeError:
            found["jsonld"] = "invalid JSON-LD"
    found["numbers"] = " ".join(sorted(set(page.numbers)))
    return page.alternates, found


writer = csv.writer(sys.stdout)
writer.writerow(["page", "fact", "language", "value", "reference value"])

for url in (line.strip() for line in open(sys.argv[1], encoding="utf-8") if line.strip()):
    alternates, reference = facts(url)
    for code, other in alternates.items():
        if code == "x-default" or other == url:
            continue
        try:
            _, found = facts(other)
        except Exception as error:
            writer.writerow([url, "page", code, f"unreachable: {error}", other])
            continue
        for key in sorted(set(reference) | set(found)):
            if reference.get(key, "") != found.get(key, ""):
                writer.writerow([url, key, code, found.get(key, ""), reference.get(key, "")])
python3 faits.py urls.txt > ecarts.csv

Put the URLs of the source language in urls.txt. Numbers are compared without their separators, so 1 200, 1,200 and 1.200 are treated as equal; only a real difference in digits produces a line. An intentional unit conversion (centimeters and inches) also shows up: record it as an exception. Compliant result: a file that contains only the header, or only known exceptions.

How to implement

The examples follow two fictional companies: Thé des Lisières (tea shop, French, German, English) and Planifia (scheduling software, French, English, Spanish).

Step 1 — List the facts

In a spreadsheet, list every fact published in several languages, with its source of truth:

Fact Where it appears Source of truth Field or file Translatable?
Net weight of a bag Product page, JSON-LD, feed Product page, source language Product field weight No
Brewing temperature Product page Product page Custom field infusion_temp No (unit converted at display time for US English)
Origin of the tea Product page Product page Field origin_country (ISO code) No; the country name is displayed translated
Length of the free trial Homepage, pricing, FAQ Plan configuration config/plans.php No
Number of users included Pricing, comparisons Plan configuration config/plans.php No
Support phone number Footer, contact, JSON-LD Site settings Global option No, unless the number differs by country
Company founding date “About” page, JSON-LD Site settings Global option No

Fictional data. Facts that intentionally differ by country (price, stock, local number, delivery terms) fall under other tasks: synchronize stock (opens in a new tab), manage market-specific prices (opens in a new tab), adapt phone numbers (opens in a new tab).

Step 2 — Take the facts out of the translated text

The rule is simple: a fact lives in a field, the translated text displays it. The template reads the value from the shared field and formats it for the language (decimal separator, unit, date format). For sentences that contain a figure, use a variable rather than a hard-coded value: “Free trial of :days days” rather than “Free trial of 14 days”.

Whatever cannot be taken out of the text (a figure quoted in a blog post, for example) stays under the watch of the script and of the detection of changes to the source content (opens in a new tab).

WordPress

Versions WordPress 6.5 and later, WPML 4.7 and later, Polylang 3.6 and later, November 2026.

Store facts in custom fields (ACF, Meta Box or native fields), never in the body text.

With WPML

Open WPML > Settings, custom fields translation section. For each factual field, choose “Copy”: the value from the source language is copied into every translation and updated on every save. Keep “Translate” for text fields and “Copy once” for fields that each language must be able to edit afterwards. ACF field groups have their own translation settings in WPML's ACF integration: check that they match.

With Polylang

Open Languages > Settings, Synchronization module, and tick “Custom fields”. This option copies the value of every custom field between translations, including those that should be translated. To synchronize only the facts, leave it unticked and declare the relevant fields with the pll_copy_post_metas filter:

add_filter('pll_copy_post_metas', function (array $metas, bool $sync): array {
    return array_merge($metas, ['infusion_temp', 'origin_country', 'net_weight']);
}, 10, 2);

Put this code in a custom plugin or in the child theme's functions.php.

With WooCommerce, the SKU, weight and dimensions are product fields. WooCommerce Multilingual (WPML) and Polylang for WooCommerce synchronize product data between translations, including the SKU, prices and stock; check on a test product that weight and dimensions also follow in your configuration. Above all, check custom attributes entered as free text, which are translated one by one.

Shopify

Versions Shopify, all plans, with Translate & Adapt, November 2026.

Shopify does not create one product per language: the weight, SKU, barcode and numeric metafields have a single value, shared by every language. Only text content (title, description, text metafields) is translated, in Translate & Adapt or an equivalent app.

The risk therefore comes from facts written in the description. Move them into typed metafields (Settings > Custom data > Products, number, weight or dimension type), then display them in the theme:

{%- if product.metafields.custom.infusion_temp -%}
  <dt>{{ 'products.specs.infusion_temp' | t }}</dt>
  <dd>{{ product.metafields.custom.infusion_temp.value }} °C</dd>
{%- endif -%}

The labels come from the theme's language files (locales/*.json), the value comes from the metafield: it is identical in every language.

PrestaShop

Versions PrestaShop 8 and 9.

The weight, dimensions, reference and EAN, UPC or MPN codes are product fields common to every language. Features (Catalog > Attributes & Features > Features), on the other hand, have one value per language: a “50 g” value must be entered in each language. For numeric features, use predefined values rather than custom values, and check in Catalog > Attributes & Features > Features that each value carries the same figure in every language. A CSV import per language, generated from the same source, avoids manual entry.

Drupal

Versions Drupal 10 and 11.

Open Configuration > Regional and language > Content language and translation (/admin/config/regional/content-language). For each content type, untick translation for the factual fields (number, date, phone, reference): a non-translatable field has a single value, shared by every translation. Tick the option that hides non-translatable fields on translation forms, so that translators do not change them by mistake.

Laravel

Versions Laravel 12 and 13.

With spatie/laravel-translatable, only the attributes listed in $translatable have one value per language. Keep facts in ordinary columns:

use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;

class Product extends Model
{
    use HasTranslations;

    public array $translatable = ['name', 'description'];

    protected $casts = [
        'net_weight_grams' => 'integer',
        'infusion_temperature' => 'integer',
    ];
}

For company facts, a single configuration file serves every language, and translated strings receive the value as a parameter:

// lang/en.json: "Free trial of :days days"
__('Free trial of :days days', ['days' => config('plans.trial_days')]);

A test checks that no version contradicts the configuration:

public function test_trial_length_is_the_same_in_every_language(): void
{
    foreach (['/fr/tarifs', '/en/pricing', '/es/precios'] as $url) {
        $this->get($url)->assertOk()->assertSee((string) config('plans.trial_days'));
    }
}

Next.js

Versions Next.js 15 and 16 (App Router), with next-intl 4.

In a headless CMS, make the factual fields non-localized: in Strapi, untick “Enable localization for this field” in the field's advanced settings; in Contentful, leave localization disabled on the field (localized: false property). A non-localized field has a single value for every language.

For facts managed in code, keep them in a single module and inject them into the messages:

// lib/facts.ts
export const facts = { trialDays: 14, includedUsers: 5, foundedYear: 2019 } as const;
// messages/en.json: { "Pricing": { "trial": "Free trial of {days} days" } }
const t = await getTranslations('Pricing');
return <p>{t('trial', { days: facts.trialDays })}</p>;

next-intl formats the number for the language; the value itself does not change.

Step 3 — Organize the update of a fact

When a fact changes:

  1. Change it in its source of truth (field, configuration), never in a translation.
  2. Clear the page caches of every language, not just the source language.
  3. Run the script from the “How to check” section again on the pages concerned.
  4. Update the product feeds and third-party listings (Google Business Profile, directories, social profiles) in each language.
  5. Alert the people responsible for translations about texts that spell out this fact, see notify the people responsible for translations (opens in a new tab).

Warning: do not turn on synchronization of all custom fields without listing them first. An SEO or page builder plugin also stores its data in custom fields: synchronizing them would copy titles and text from the source language into every translation.

Common mistakes

  • Writing figures into the translated description instead of a dedicated field.
  • Synchronizing every custom field without sorting them, and overwriting translated text.
  • Correcting a fact in a translation: the correction disappears at the next synchronization from the source.
  • Forgetting the JSON-LD and the feeds, which are sometimes built from a source other than the page.
  • Confusing format and fact: 1,5 kg and 1.5 kg are the same fact; 1,5 kg and 1,2 kg are not.
  • Converting units by hand in each language instead of calculating them at display time, see adapt currencies and units of measurement (opens in a new tab).
  • Not clearing the cache of the other languages after an update.

Frequently asked questions

Why do a product's specifications differ depending on the site's language?

Specifications often differ by language because they were written into the translated text instead of a shared field. The translation freezes the value on the day it is made: when the source language changes, the other versions keep the old one. The lasting fix is to store each fact in a non-translatable field and have the template display it in every language.

Which fields should you synchronize between translations in WPML or Polylang?

Synchronize the fields that contain facts: weight, dimensions, references, temperatures, durations, dates, contact details. In WPML, set these fields to “Copy”; in Polylang, declare them with the pll_copy_post_metas filter rather than synchronizing every custom field. Keep text fields and SEO plugin data on “Translate”, since they must remain specific to each language.

Can figures that differ by language mislead ChatGPT or Gemini?

It is possible. An assistant asked a question in one language may rely on the site's version in that language and repeat an outdated value. No vendor documents how its engine settles between two contradictory versions of the same site. Aligning the facts in every language removes the contradiction at the source, though it guarantees neither the accuracy nor the presence of an answer.

How do you handle units of measurement that differ by country?

Store the value once, in a reference unit, then convert it at display time according to the language or country: grams and ounces, degrees Celsius and Fahrenheit, centimeters and inches. A conversion calculated by the template stays correct when the source value changes, whereas a conversion entered by hand in each translation always ends up diverging.

Updated on

Topic checklist (PDF)

And now?

In the “Multilingual tracking and maintenance” topic

  1. Segment traffic by language and country URL
  2. Segment conversions and revenue by market
  3. Track rankings by search engine and country
  4. Track impressions and CTR by version
  5. Track indexing by language
  6. Track backlinks by market
  7. Track AI mentions and citations by language
  8. Track AI traffic and share of voice by market
  9. Compare business performance
  10. Identify underexploited markets and weak translations
  11. Detect missing or outdated translations
  12. Detect changes to the source content
  13. Notify the people responsible for translations
  14. Review AI translations
  15. Automate hreflang and canonical tests
  16. Detect the actual language and untranslated strings
  17. Test cross-language links
  18. Synchronize facts and specifications
  19. Synchronize stock if applicable
  20. Manage market-specific prices
  21. Test all versions after each deployment
  22. Define editorial sign-off for each language
  23. Integrate multilingual tests into CI/CD