Check 30.11 · Multilingual tracking and maintenance

Detect missing or outdated translations

List pages with no translation and translations older than their source: sitemaps, WPML, Polylang, Shopify, Drupal, Laravel or Next.js, with ready-made scripts.

Priority
Important
Difficulty
Intermediate
Estimated time
2 h to 1 day
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 missing translation is a source page that has no equivalent in a language where it should have one. An outdated translation exists, but predates the last significant change to its source: it shows an old price, an old specification, a section that no longer exists. The task consists of producing, for each language, the list of both cases from the sitemaps, the CMS or the code repository. Once done, you know which pages to translate or update, and the check can be run again in a few minutes.

Why it matters

Multilingual sites drift. The source version moves at the team's pace: new products, revised prices, an expanded article. Translations follow late, or not at all. After a year, the German version has fewer pages than the French one, and some of those that do exist describe an outdated offer.

For search engines, a page with no equivalent breaks the group of hreflang annotations and leaves visitors in that language on another version, or on a fallback page. See plan for missing translations (opens in a new tab).

For generative engines, an outdated translation is a contradictory source: depending on the language of the question, an assistant may cite the old price or the old specification. No practice guarantees that an assistant will use the right version, but consistent versions reduce this risk. See detect hallucinations by language (opens in a new tab).

What it improves

  • Coverage of each market: fewer pages with no equivalent, complete hreflang groups.
  • Accuracy of translated versions: identical prices, specifications and terms from one language to another.
  • Trust from visitors, who no longer come across contradictory information.
  • AI citations Indirect effect, through the consistency of the available sources.
  • Management A coverage rate and an average delay per language, tracked over time.

How to check

Count the URLs of each language in your sitemaps:

for lang in fr de en; do
  printf "%s " "$lang"
  curl -s https://example.com/sitemap.xml | grep -o "<loc>https://example.com/$lang/[^<]*" | wc -l
done

Adapt the URL if the sitemap is an index. A large gap between languages is the first sign of missing translations, provided the pages deliberately left untranslated are known.

For outdated translations, take three recently modified source pages and compare their modification date with that of their translations in the CMS. A translation older than its source needs to be reviewed.

Compliant result: every gap matches a documented exclusion, and no translation of a strategic page is more than a few weeks behind its source.

How to implement

Before you start

Write down the expected coverage. Not every page has to exist in every language: a local news article or an offer reserved for one country can stay monolingual. One table by page type is enough:

Page type fr de en Rule
Product pages Yes Yes Yes All, within 7 days
Categories Yes Yes Yes All, before going live
Guides Yes Yes Selection The 30 most visited guides
News Yes No No No translation

Also define what an outdated translation is: its reference date is earlier than the last significant change to the source. CMS modification dates change at the slightest edit; they give suspects, not certainties. To flag only substantive changes, see detect changes to the source content (opens in a new tab).

Universal method: compare the sitemaps

This script works whatever the CMS, provided the sitemaps list the URLs of every language with their lastmod. It reads the hreflang alternates in the sitemap (xhtml:link) and, failing that, in the HTML of each source page.

#!/usr/bin/env python3
"""List translations that are missing or older than their source page."""
import argparse
import csv
import sys
import urllib.request
import xml.etree.ElementTree as ET
from datetime import datetime, timezone
from html.parser import HTMLParser

NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9", "xhtml": "http://www.w3.org/1999/xhtml"}


def fetch(url):
    request = urllib.request.Request(url, headers={"User-Agent": "couverture-traductions/1.0"})

    with urllib.request.urlopen(request, timeout=30) as response:
        return response.read()


def parse_date(value):
    try:
        date = datetime.fromisoformat(value.strip())
    except (AttributeError, ValueError):
        return None

    return date if date.tzinfo else date.replace(tzinfo=timezone.utc)


def read_sitemap(url, pages):
    root = ET.fromstring(fetch(url))

    for child in root.findall("sm:sitemap/sm:loc", NS):
        read_sitemap(child.text.strip(), pages)

    for entry in root.findall("sm:url", NS):
        alternates = {
            link.get("hreflang").lower(): link.get("href")
            for link in entry.findall("xhtml:link", NS)
            if link.get("rel") == "alternate" and link.get("hreflang")
        }
        pages[entry.findtext("sm:loc", namespaces=NS).strip()] = {
            "lastmod": parse_date(entry.findtext("sm:lastmod", namespaces=NS)),
            "alternates": alternates,
        }


class HreflangParser(HTMLParser):
    def __init__(self):
        super().__init__()
        self.alternates = {}

    def handle_starttag(self, tag, attrs):
        attributes = dict(attrs)

        if tag == "link" and attributes.get("rel") == "alternate" and attributes.get("hreflang"):
            self.alternates[attributes["hreflang"].lower()] = attributes.get("href")


def alternates_from_html(url):
    parser = HreflangParser()

    try:
        parser.feed(fetch(url).decode("utf-8", errors="replace"))
    except OSError as error:
        print(f"{url}: {error}", file=sys.stderr)

    return parser.alternates


arguments = argparse.ArgumentParser()
arguments.add_argument("sitemap")
arguments.add_argument("--source-prefix", required=True)
arguments.add_argument("--targets", required=True, help="comma-separated hreflang values, for example de,en")
options = arguments.parse_args()

pages = {}
read_sitemap(options.sitemap, pages)
targets = [target.strip().lower() for target in options.targets.split(",")]

writer = csv.writer(sys.stdout)
writer.writerow(["source", "language", "translation", "status", "delay_days"])

for url, page in sorted(pages.items()):
    if not url.startswith(options.source_prefix):
        continue

    alternates = page["alternates"] or alternates_from_html(url)

    for target in targets:
        translation = alternates.get(target)

        if not translation:
            writer.writerow([url, target, "", "missing", ""])
            continue

        if translation not in pages:
            writer.writerow([url, target, translation, "not in sitemap", ""])
            continue

        source_date = page["lastmod"]
        translation_date = pages[translation]["lastmod"]

        if source_date and translation_date and translation_date < source_date:
            writer.writerow([url, target, translation, "older than source", (source_date - translation_date).days])
python3 couverture_traductions.py https://example.com/sitemap.xml --source-prefix https://example.com/fr/ --targets de,en > couverture.csv

Open couverture.csv in a spreadsheet, remove the documented exclusions and sort by descending delay. The result is only valid if lastmod reflects the actual modification date: see manage lastmod per translation (opens in a new tab).

WordPress

Versions WordPress 6.4 and later, WPML and Polylang versions current as of November 2026.

With WPML

WPML tracks the status of each translation. In WPML > Translations, the global filter at the top of the page accepts a translation status: choose the target language and the status of translations that need updating to get the list of content whose source has changed. Depending on your version, the same status filter also lets you list content not yet translated. From this list, send the content back for translation using the chosen method (automatic, translator, service).

With Polylang

Polylang does not document a "needs update" status for content. This script, run with WP-CLI, compares the modification dates of each piece of content published in the default language with those of its translations:

<?php
// traductions-polylang.php — run with: wp eval-file traductions-polylang.php
$source = pll_default_language();
$targets = array_diff(pll_languages_list(), [$source]);

$ids = get_posts([
    'post_type' => ['post', 'page', 'product'],
    'post_status' => 'publish',
    'lang' => $source,
    'fields' => 'ids',
    'numberposts' => -1,
]);

foreach ($ids as $id) {
    $translations = pll_get_post_translations($id);
    $sourceModified = get_post_field('post_modified_gmt', $id);
    $sourceUrl = get_permalink($id);

    foreach ($targets as $target) {
        if (empty($translations[$target])) {
            WP_CLI::line("MISSING\t{$target}\t{$sourceUrl}");

            continue;
        }

        $translationId = $translations[$target];

        if (get_post_status($translationId) !== 'publish') {
            WP_CLI::line("UNPUBLISHED\t{$target}\t{$sourceUrl}");

            continue;
        }

        if (get_post_field('post_modified_gmt', $translationId) < $sourceModified) {
            $translationUrl = get_permalink($translationId);
            WP_CLI::line("OUTDATED\t{$target}\t{$translationUrl}");
        }
    }
}
wp eval-file traductions-polylang.php > couverture.tsv

Remove product from the list if WooCommerce is not installed, or add your custom post types.

Shopify

Versions Shopify, all plans, GraphQL Admin API, November 2026.

Shopify marks a translation as outdated (outdated) when the original content has changed since its last update. The Admin API lets you list these translations and the fields that were never translated. Run this query from Shopify's GraphiQL app or from a script with an app token that has the read_translations access scope:

query TraductionsProduits {
  translatableResources(first: 50, resourceType: PRODUCT) {
    edges {
      node {
        resourceId
        translatableContent {
          key
          value
        }
        translations(locale: "de") {
          key
          outdated
          updatedAt
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

For each product, a translatableContent key (title, body_html, meta_title, meta_description…) missing from translations is a missing translation; a translation with outdated: true is outdated. Add the outdated: true argument to translations to retrieve only the outdated ones. Repeat with COLLECTION, PAGE, ARTICLE and ONLINE_STORE_THEME, and paginate with after: "…endCursor…".

Drupal

Versions Drupal 10 and 11, Content Translation and Language modules enabled.

Drupal handles the outdated status natively. When editing a source piece of content, check "Flag other translations as outdated" in the form's Translation section: the other translations are then marked as outdated and the content's Translate tab shows their status. Make a habit of checking this box for any substantive change; it is not checked automatically.

For a global list, create a view (Structure > Views > Add view) on content, displayed as a table, with the title and language fields and the translation outdated flag provided by Content Translation, then filter on this flag. Check the exact name of the field in your version.

Laravel

Versions Laravel 11 to 13, spatie/laravel-translatable 6.

With translatable attributes stored as JSON, this command lists empty fields by language:

<?php

namespace App\Console\Commands;

use App\Models\Page;
use Illuminate\Console\Command;

class ListMissingTranslationsCommand extends Command
{
    protected $signature = 'list-missing-translations {--locales=de,en}';

    protected $description = 'List published pages whose translatable attributes are missing in a locale';

    public function handle(): int
    {
        $locales = explode(',', $this->option('locales'));
        $missing = 0;

        Page::query()->where('is_published', true)->each(function (Page $page) use ($locales, &$missing): void {
            foreach ($locales as $locale) {
                foreach ($page->getTranslatableAttributes() as $attribute) {
                    if ($page->hasTranslation($attribute, $locale)) {
                        continue;
                    }

                    $missing++;
                    $this->warn("Page {$page->id}: `{$attribute}` missing in `{$locale}`.");
                }
            }
        });

        $this->comment("{$missing} missing translation(s).");

        return $missing === 0 ? self::SUCCESS : self::FAILURE;
    }
}
php artisan list-missing-translations --locales=de,en

Replace Page and is_published with your own models and columns. The command returns an error code if a translation is missing, which lets you use it in CI. To detect outdated translations, you need to store the version of the source that was translated: that is the purpose of the detect changes to the source content (opens in a new tab) task.

Next.js

Versions Next.js 15 and 16, Markdown or MDX content versioned in Git (same method for Astro, Nuxt Content or Hugo).

When content consists of files organized by language (content/fr/…, content/de/…) with the same file name, the date of each file's last commit serves as its modification date:

#!/usr/bin/env bash
# couverture-contenus.sh — run from the root of the repository
set -euo pipefail

SOURCE="fr"
TARGETS="de en"

cd "content/${SOURCE}"

find . -type f \( -name '*.md' -o -name '*.mdx' \) | sort | while read -r file; do
  source_date=$(git log -1 --format=%ct -- "$file")

  for target in $TARGETS; do
    translated="../${target}/${file#./}"

    if [ ! -f "$translated" ]; then
      echo "MISSING  ${target} ${file#./}"
      continue
    fi

    translated_date=$(git log -1 --format=%ct -- "$translated")

    if [ "${translated_date:-0}" -lt "${source_date:-0}" ]; then
      echo "OUTDATED ${target} ${file#./} ($(( (source_date - translated_date) / 86400 )) d)"
    fi
  done
done

If file names are translated, add a shared key to the front matter of each file (translationKey: guide-temperature) and match on this key rather than on the name. In CI, fetch the full history (fetch-depth: 0 in actions/checkout), otherwise every date is that of the last commit.

Interface strings (messages/*.json) call for a key check: see detect untranslated strings (opens in a new tab).

Keeping the check alive

  • Run the chosen method again every week, or at each deployment, and feed the result into a tracking table (URL, language, status, delay, owner).
  • Track two indicators per language: the coverage rate (existing translations ÷ expected translations) and the number of translations outdated by more than 30 days.
  • Pass each gap on to the right person: see notify the people responsible for translations (opens in a new tab).

Common mistakes

  • Aiming for 100% coverage with no rule by page type: the team translates stale news instead of product pages.
  • Relying on the raw modification date: fixing a comma in the source makes every translation "outdated".
  • Forgetting draft translations: they exist in the CMS but not on the site.
  • lastmod values set to the sitemap generation date: every page seems modified on the same day and the comparison no longer tells you anything.
  • Ignoring secondary fields: title, meta description, alt text and product options stay in the old version.
  • Running the check in CI with a truncated Git history: every date becomes identical.

Frequently asked questions

How do you find out which pages have not been translated?

Compare the list of pages in the source language with that of each target language. Multilingual sitemaps, which associate each URL with its hreflang alternates, let you do this with a script whatever the CMS. WPML, Shopify and Drupal also expose the status of each translation. Then remove the pages deliberately left untranslated, defined in a coverage rule by page type.

What is an outdated translation?

An outdated translation is a translation whose reference date is earlier than the last significant change to its source page. It may show an old price, a withdrawn specification or a section that no longer exists. Shopify and Drupal flag it natively, and WPML lists it among the translations that need updating; elsewhere, you compare the modification dates of the source and the translation.

Should every page be translated into every language?

No, not every page has to exist in every language of a multilingual site. A local news item or an offer reserved for one country can stay monolingual. Define a coverage rule by page type and by language, with a target delay, then measure the gaps against this rule. For untranslated pages, plan a clear behavior rather than a silent fallback.

Do outdated translations hurt SEO?

An outdated translation does not lead to a penalty, but it degrades the page: false information for the visitor, search intent less well served, lost conversions. It also creates contradictions between language versions that generative engines may repeat depending on the language of the question. The main risk is commercial and reputational more than ranking-related.

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