Check 28.05 · Multilingual linking and schema

Check related content, footer and in-article links

Check, language by language, that related content blocks, the footer and in-article links stay in the page's language and are populated and relevant.

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

Three areas produce most of a page's internal links outside the menu: related content blocks (“Related posts”, “Similar products”, “Latest posts”), the footer, and the links written in the body of articles. They are also the areas that most often leave the page's language on a translated site, because they are fed by a query, a widget or copied text. The task is to measure, for each language and each area, the language of the linked pages and the number of links produced, then fix the query, template or content at fault. Once it is done, these three areas connect each version to itself, with as many useful links as in the main language.

Why it matters

Google points out that every important page should receive a link from at least one other page, and that you should ask yourself which other pages of the site would help the reader understand the one they are reading. Related content blocks and in-article links serve exactly that purpose. On a multilingual site, they break in three ways:

  • query without a language filter: the “Related posts” block of a German article suggests French articles, because the code calls a function that ignores the translation plugin's filter;
  • empty block: the translated version has little content, the block finds nothing and disappears, and the translated pages lose a source of links that the main language keeps;
  • copied footer and articles: footer links entered once in a widget, translated articles whose URLs were not changed.

These flaws are hard to notice, because the main version works. Yet they deprive translated pages of contextual links, the most useful ones for connecting content to its topic, and they switch the visitor's language just when they want to learn more.

What it improves

  • Contextual internal linking of each version Translated pages receive the links of the blocks and articles in their language.
  • Reading journey The visitor carries on in their language after an article or a product page.
  • Discovery of recent content in each language, through “Latest posts” blocks.
  • Average order value on a shop, when related products are in the right language and available. A plausible effect, to be measured.
  • Rankings An indirect effect, through crawling and internal linking.

How to check

Step 1 — Name the areas in the crawl

Screaming Frog classifies each link by its position (navigation, footer, content…) based on the link's XPath. Add your own areas in Configuration > Custom > Link Positions: a related rule for links whose path contains the class of your related posts block, a recent rule for the latest posts widget. Place them above the “Content” rule, which matches any link and must stay last.

Crawl, then Bulk Export > Links > All Inlinks.

Step 2 — Measure by area

Run the export through the matrix script from favor links to the same language (opens in a new tab): liens-hors-langue.csv contains the position column. A pivot table, with positions as rows and target language as columns, shows where the off-language links come from.

Then measure how well the blocks are populated. In the full export, add the source page's language, then count the links per source page and per area. With the language in column F, the position in column E and one source page per row in a Pages sheet:

"related" links of page A2:
=COUNTIFS(Links!A:A,A2,Links!E:E,"related")

Average per language (language in B2, number of links in C):
=AVERAGEIF(Pages!B:B,"de",Pages!C:C)

Expected result:

Area fr: links per page de: links per page de: off-language share
related 4.0 3.8 0%
recent 5.0 5.0 0%
footer 12 12 0%
content (articles) 3.1 2.9 0%

Fictitious figures. A block that produces 4 links per page in French and 0.6 in German is empty on most German pages; an off-language share above zero points to a query or a text to fix.

Step 3 — Read a sample

Open ten pages per language, including old articles and slow-selling products. Check by eye that the related content is relevant, in the page's language, available in the market, and that the footer is fully translated.

How to implement

Before you start

Rules common to the three areas:

Area Rule
Related content Filtered on the page's language; fallback to the same section in the same language, never to another language
Latest posts, popular products Computed per language, with their own statistics if the block relies on popularity
Footer Labels and links per language, legal pages adapted to the country, see translate anchors, menus and footer (opens in a new tab)
In-article links URL of the page in the article's language, translated anchor, see fix links to the default language (opens in a new tab)

When a version has too little content to fill the block, broaden the criterion (same category, then same section, then the language's most viewed content) rather than showing other languages. The logic of the blocks themselves is described in suggest relevant related content (opens in a new tab).

WordPress

Versions WordPress 6.8 and later (checked up to 7.1); WPML 4 and 5, Polylang 3.

Main queries and WP_Query are filtered by language by Polylang and WPML. The pitfalls come from theme and plugin code:

  • get_posts() disables query filters by default (suppress_filters is true): with WPML, the query then returns every language. Pass 'suppress_filters' => false.
  • With Polylang, pass the language explicitly if the query runs outside the main loop, for example in a REST call or a scheduled task.

Related posts block filtered by language and category:

<?php
$related = get_posts([
    'post_type' => 'post',
    'posts_per_page' => 4,
    'post__not_in' => [get_the_ID()],
    'category__in' => wp_get_post_categories(get_the_ID()),
    'lang' => function_exists('pll_current_language') ? pll_current_language() : '',
    'suppress_filters' => false,
]);

foreach ($related as $item) {
    printf('<a href="%s">%s</a>', esc_url(get_permalink($item)), esc_html(get_the_title($item)));
}

With a related posts plugin or a page builder block, test a page in each language: if content in another language shows up, look in its settings for a multilingual compatibility option or replace it with a theme query block. For footer widgets and “Recent Posts”, Polylang adds a language setting to each widget: create one widget per language. With WPML, check that they only show the current language and translate their titles in String Translation.

Shopify

Versions Online Store 2.0 themes and the Translate & Adapt app, all Shopify plans, November 2026.

Liquid objects (product.url, collection.url) and the routes object take the language into account. Recommended product blocks loaded in JavaScript must build their URL from window.Shopify.routes.root, which includes the language or market prefix, rather than from a hard-coded path:

const url = `${window.Shopify.routes.root}recommendations/products?product_id=${productId}&limit=4&section_id=${sectionId}`;
const html = await fetch(url).then((response) => response.text());

Shopify states that a hard-coded URL such as /cart sends the visitor to the default language and market; the same goes for any call written without this prefix. Footer texts are translated in Translate & Adapt, in the theme section.

PrestaShop

Versions PrestaShop 8 and 9.

Modules for related products and products in the same category use the context language. Above all, check third-party modules and HTML blocks entered by hand in the footer (Design > Link Widget, custom text modules): each block must have its content for each language.

Drupal

Versions Drupal 10 and 11.

Blocks generated by Views must carry a filter on the content's translation language (“Translation language”), set to the language selected for the page. Without this filter, a related posts view shows every translation, and sometimes the same content several times.

Laravel

Versions Laravel 11 to 13.

Filter every related content query on the current language:

$related = Article::query()
    ->where('locale', app()->getLocale())
    ->where('category_id', $article->category_id)
    ->whereKeyNot($article->getKey())
    ->latest('published_at')
    ->limit(4)
    ->get();

If translations are stored as JSON with a package such as laravel-translatable, filter on content that has a translation in the current language, not on all content.

Next.js

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

Fetch related content with the route's language in the server component (const { locale } = await params;: since Next.js 15, params is a promise, and Next.js 16 no longer allows direct access to params.locale), and pass it to your headless CMS in every request. Build the links with next-intl's Link, which adds the language prefix.

Tip: a “Popular products” or “Most read articles” block computed on total traffic highlights content in the main language. Compute popularity per language, or per market on a shop.

Common mistakes

  • Testing only the main language, where the blocks work by design.
  • get_posts() without suppress_filters => false with WPML: every language comes up.
  • Falling back to another language when the version has little content.
  • Footer widgets entered once, shared by every language.
  • Translated articles with links to the original URL, which only a crawl reveals.
  • Blocks loaded in JavaScript with no language prefix in the request URL.
  • Popularity computed across the whole site, which crushes content specific to one market.

Frequently asked questions

What should you do when a language has too little content to fill the block?

Broaden the criterion gradually within the same language: same category, then same section, then the most viewed content of that version. Do not show content in another language to fill the gap, and hide the block if it stays empty. Use the analysis to identify the topics to translate or create first for that market.

Updated on

Topic checklist (PDF)

And now?

In the “Multilingual linking and schema” topic

  1. Favor links to the same language
  2. Fix links to the default language
  3. Translate anchor text
  4. Check the language switcher on every page
  5. Check related content, footer and in-article links
  6. Identify orphan pages by language
  7. Build clusters for each market
  8. Check click depth and link equity distribution
  9. Use inLanguage on compatible types
  10. Translate name and description
  11. Adapt url to the language
  12. Keep a stable organization @id
  13. Create a distinct @id for each page
  14. Translate FAQ and Article markup
  15. Adapt Product and priceCurrency
  16. Adapt areaServed and contact details
  17. Check availability by country
  18. Check sameAs
  19. Validate the markup for each language