Check 25.06 · Translating SEO elements

Translate anchors, menus and footer

Translate the menus, footer and anchor text of each language, with links to the right version, in WordPress, Shopify, PrestaShop, Drupal, Laravel or Next.js.

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

Menus, footer and link text make up the part shared by every page: an omission there repeats across the whole site. Translating them means translating the labels with the words of the market, but also making each link point to the equivalent page in the same language. Once this check is done, the header, menu, footer and content links of each version are entirely in its language and lead to another language only through the language switcher.

Why it matters

Navigation links are internal links like any other: their anchor text helps search engines understand the destination page, and their target determines the path crawlers take. A German menu that displays “Grüner Tee” and points to /fr/thes/the-vert/ sends the visitor and Googlebot out of the German version, and passes a French anchor to a French page from a German page.

Google advises against translating only the boilerplate text while leaving the content in another language; the reverse, translated content in a template left in French, produces the same result: a mixed-language page, less clear for visitors and for language detection alike. See avoid mixed-language pages with partial translations (opens in a new tab).

The footer also carries trust links: legal notice, terms of sale, shipping, contact. These are pages that visitors and some AI assistants consult to check who is selling and on what terms; they must exist and be linked in each language.

What it improves

  • Navigation Visitors stay in their language from start to finish.
  • Crawling by language Crawlers follow links that stay within the version, which helps discover and connect all translated pages.
  • Relevance of internal links Anchors in the language of the destination page.
  • Trust and conversion Legal and commercial information available in the customer's language.
  • Rankings An indirect effect, through crawling and internal linking.

How to check

On one page of each template and each language, list in the browser console the header, navigation and footer links that leave the current language:

const prefix = `/${document.documentElement.lang.slice(0, 2)}/`;

[...document.querySelectorAll('header a, nav a, footer a')]
  .filter((a) => a.hostname === location.hostname && !a.pathname.startsWith(prefix))
  .map((a) => `${a.textContent.trim()} -> ${a.pathname}`);

Compliant result: only the language switcher links appear. If the default language has no prefix in your URLs, adapt the condition for that language.

For the whole site:

  1. Crawl the site with Screaming Frog, then export all internal links with their anchor text and their position (navigation, header, footer, content).
  2. In a spreadsheet, filter the links whose source page is in /de/ and whose destination is outside /de/: =IF(AND(LEFT(A2,4)="/de/",LEFT(B2,4)<>"/de/"),"Leaves the language",""), with the paths in columns A and B.
  3. On the same rows, spot anchors in another language with =DETECTLANGUAGE(C2), or anchors identical to those of the source version.

Also read the footer aloud, language by language: the short template texts (copyright, newsletter sign-up, payment mentions) often escape tools.

How to implement

Before you start

Inventory the shared elements to translate once, and decide on their label in each language:

Area Element fr label de label de target Text source
Main menu Category Thés verts Grüner Tee /de/tees/gruener-tee/ CMS menu
Main menu Custom link Coffrets cadeaux Geschenkboxen /de/geschenkboxen/ CMS menu, URL entered by hand
Footer Legal link Mentions légales Impressum /de/impressum/ Footer widget or block
Footer Text Inscrivez-vous à notre lettre d'information Newsletter abonnieren — Theme string
Footer Copyright Tous droits réservés Alle Rechte vorbehalten — Theme string

Fictitious example of a tea shop. Rules:

  • Menu labels: the words the market uses to name the categories, taken from keyword research by language (opens in a new tab), not a literal translation.
  • Legal and commercial pages: adapt them to the country rather than translating the French pages. Mandatory notices differ from one country to another, for example the Impressum in Germany; have them validated by a lawyer from that country.
  • Content anchors: translate the link text with the sentence, then replace the URL with that of the equivalent page in the language. Descriptive anchors, without stuffing: see translate anchor text (opens in a new tab).
  • Pages missing in the language: remove the link from that language's menu rather than pointing to the French version. See fix links to the default language (opens in a new tab).
  • Language switcher: the name of each language written in that language (“Deutsch”, “English”), and a link to the equivalent page. See provide a crawlable language switcher (opens in a new tab).
  • Length: short labels expand proportionally more in translation, according to the guidelines cited by the W3C. Test menus with the real texts on mobile.

WordPress

Versions WordPress 6.8 to 7.1; Polylang 3.x, WPML 4.x, Loco Translate 2.8.

Classic menus with Polylang: in Appearance > Menus, create one menu per language (“Main menu DE”), add the pages and categories of that language, then, in Menu Settings > Display location, assign it to the location for that language (“Primary Menu Deutsch”). The language switcher is added from the Languages panel of the menu items.

Classic menus with WPML: first translate the content the menu points to, then synchronize the menu structure to the other languages with WPML's menu synchronization tool. Custom links do not synchronize like the others: create them in the menu of each language (Appearance > Menus, language link above the menu structure), with the translated URL.

Block themes: the menu is a Navigation block in a template part (header, footer). With WPML, translate it from the Translation Dashboard, template parts section, or from Appearance > Editor > Navigation, language panel. With Polylang, follow its guide on navigation in the site editor.

Widget-based footer: widget titles and texts are translated in Languages > Translations (Polylang) or WPML > String Translation. Texts written by the theme (copyright, notices) come from its language files: complete them with Loco Translate if the translation is missing.

Shopify

Versions Shopify admin and Translate & Adapt app, all plans, November 2026.

Menus are created in Content > Menus (depending on the version of the interface) for the primary language, and their labels are translated in Translate & Adapt, in the navigation section: Shopify's developer documentation lists menus and their links among translatable content. Links to products, collections, pages or blog posts must lead to their version in the displayed language: check this on the published store, especially for links entered as a custom URL, which do not necessarily adapt.

Footer texts (column headings, newsletter text, notices) are theme content: translate them in the theme section of Translate & Adapt.

PrestaShop

Versions PrestaShop 8 and 9.

  • Main menu: Modules > Module Manager, the theme's main menu module, Configure. Labels and custom links are entered for each language with the language selector; categories and CMS pages take their translated name.
  • Footer: Design > Link Widget for link blocks, whose name is translated per language; theme texts in International > Translations, theme translations.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.

The main menu is built from categories: translate their name per store view (Catalog > Categories, scope set to the language's store view). Footer links are often CMS blocks: create one version per store view. Theme texts go through the theme's i18n/de_DE.csv file, then bin/magento setup:static-content:deploy de_DE and bin/magento cache:flush.

Drupal

Versions Drupal 10 and 11.

Make custom menu links translatable in Configuration > Regional and language > Content language and translation (Custom menu link entity), then translate each link from the menu administration. Footer block titles are handled through configuration translation, theme strings through interface translation.

Wix

Versions Wix Editor and Wix Studio with Wix Multilingual, November 2026.

With Wix Multilingual, menu labels are translated along with the rest of the site, in the Translation Manager or in the editor set to the secondary language. Check that each menu item points to the page in that language, especially links to anchors or external URLs.

Webflow

Versions Webflow Localization, add-on to site plans, November 2026.

The header and footer are usually shared components. With Webflow Localization, switch to the secondary locale and translate the component texts; then check, on the published version, that each menu link opens the page of that locale.

Laravel

Versions Laravel 11 to 13.

Declare menus with translation keys and route names, never with hard-coded labels and URLs:

// config/navigation.php
return [
    'footer' => [
        ['label' => 'footer.legal', 'route' => 'legal'],
        ['label' => 'footer.shipping', 'route' => 'shipping'],
        ['label' => 'footer.contact', 'route' => 'contact'],
    ],
];
// app/Http/Middleware/SetLocaleUrlDefault.php
public function handle(Request $request, Closure $next): Response
{
    URL::defaults(['locale' => app()->getLocale()]);

    return $next($request);
}
{{-- resources/views/partials/footer.blade.php --}}
<footer>
    <ul>
        @foreach(config('navigation.footer') as $item)
            <li><a href="{{ route($item['route']) }}">{{ __($item['label']) }}</a></li>
        @endforeach
    </ul>
</footer>

Add this middleware to the web group in bootstrap/app.php ($middleware->web(append: [SetLocaleUrlDefault::class]);), after the one that sets the language. With routes prefixed by {locale}, route() then generates the URL for the current language. If your routes are translated with a package such as Laravel Localization, use its URL generation functions.

Next.js

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

With next-intl, use the navigation components created from the routing configuration: they add the language prefix and, if you have declared translated paths, the right path.

// components/Footer.tsx
import { useTranslations } from 'next-intl';
import { Link } from '@/i18n/navigation';

export default function Footer() {
  const t = useTranslations('Footer');

  return (
    <footer>
      <Link href="/impressum">{t('legal')}</Link>
      <Link href="/versand">{t('shipping')}</Link>
    </footer>
  );
}

@/i18n/navigation exports the Link obtained with createNavigation(routing). Do not use the Link from next/link with a hard-coded path in shared components.

Common mistakes

  • Menu translated, links unchanged: German labels pointing to the French pages.
  • Forgotten custom links: they do not follow automatic menu translations.
  • French legal pages linked from every version, or translated without adapting them to the country's law.
  • Untranslated theme texts: copyright, newsletter, “Follow us”, payment mentions.
  • Content anchors translated but URLs kept, or the reverse.
  • Menus too long once translated, wrapping onto two lines or overflowing on mobile.
  • Language switcher with language names translated into the current language (“Allemand”) instead of their native name.

Frequently asked questions

Do you need a different menu for each language?

Not necessarily a different menu, but a translated and checked menu for each language. The labels must use the words of the market, and each link must point to the equivalent page in the same language. Remove from a language's menu the pages that do not exist in it, rather than sending visitors to the French version. Some markets also justify their own order or sections.

Does translated anchor text have an effect on SEO?

Yes, indirectly. Anchor text helps search engines understand the destination page, and a link that stays in the same language connects the pages of the version to each other. A German anchor pointing to a German page is consistent; a French anchor pointing to a French page, from a German page, takes visitors and crawlers out of the version. The effect on rankings cannot be measured in isolation.

Updated on

Topic checklist (PDF)

And now?

In the “Translating SEO elements” topic

  1. Translate titles and meta descriptions
  2. Translate H1/H2/H3 headings
  3. Translate the main content
  4. Translate slugs
  5. Translate ALT text and captions
  6. Translate anchors, menus and footer
  7. Translate breadcrumbs and FAQs
  8. Translate text properties in structured data
  9. Translate Open Graph and set og:locale
  10. Translate CTAs and forms
  11. Translate error messages and 404 pages
  12. Translate cookie banners
  13. Translate downloadable documents
  14. Translate subtitles and transcripts
  15. Translate dynamic content and CMS plugins
  16. Check text embedded in images
  17. Detect untranslated strings