Check 25.05 · Translating SEO elements

Translate ALT text and captions

Translate the alt text, captions and file names of images in each language, then check them in WordPress, Shopify, PrestaShop, Drupal or Next.js.

Priority
Important
Difficulty
Easy
Estimated time
1 h to 2 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

Alternative text (the alt attribute) describes an image for screen readers and search engines; the caption (<figcaption> or text below the image) comments on it for all readers. On a multilingual site, these are the texts most often forgotten, because they are not visible or are attached to the file rather than to the page. Once this check is done, every informative image of every version carries an alt and a caption in the language of the page, decorative images keep an empty alt, and language-specific images have a file name in that language.

Why it matters

Google states that alt text is the most important attribute for giving it information about an image, and that it uses it alongside computer vision algorithms and the page content. It also infers the subject of the image from the surrounding text, captions included. An alt left in French on a German page does not contain the words German users type into Google Images, and gives the search engine a conflicting language signal.

For accessibility, the effect is immediate. The screen reader reads the alt with the voice of the language declared by the page: French text pronounced by a German speech synthesizer becomes incomprehensible. The WCAG (Web Content Accessibility Guidelines) criterion on non-text content requires an equivalent alternative, which implies that it is in a language the user understands.

Finally, Google advises that when you localize your images, you also translate their file names. The file name is only a light hint, but it costs nothing on images created for a specific market.

What it improves

  • Accessibility Screen readers render images in the language of the page.
  • Image search in each language: alt text and captions with the local vocabulary.
  • Linguistic consistency of the page: less text in another language.
  • Multimodal search and generative engines Clear textual context around images. An indirect effect, not measured.
  • Web page rankings A small effect.

How to check

List the alt text and captions of a translated page:

curl -s https://example.com/de/tees/gruener-tee/ | grep -o -i -E '<img[^>]*>|<figcaption[^>]*>[^<]*' \
  | grep -o -i -E 'alt="[^"]*"|src="[^"]*"|<figcaption[^>]*>.*'

On a page rendered in JavaScript, in the browser console:

[...document.querySelectorAll('img')].map((img) => ({
  src: img.currentSrc.split('/').pop(),
  alt: img.getAttribute('alt'),
  legende: img.closest('figure')?.querySelector('figcaption')?.textContent.trim() ?? '',
}));

Compliant result: each informative image has an alt in the language of the page; decorative images have alt=""; no image is missing its alt attribute; captions are translated.

Across the whole site, a crawl of each language directory with Screaming Frog lists the images and their alt text (Images tab and bulk exports). Paste them into Google Sheets and spot texts left in the source language with =DETECTLANGUAGE(B2) or by comparing them with the source version: =IF(B2=D2,"Not translated",""). Check template images separately (logo, trust icons, banners), since they appear on every page.

How to implement

Before you start

Translation rules, valid for every tool:

  • Describe for the reader of the language, don't translate word for word. The alt says what the image brings to the page, in one short sentence. See provide ALT text for informative images (opens in a new tab).
  • Words of the market, without stuffing: the local term comes naturally if it describes the image; Google advises against filling alt attributes with keywords. See write relevant ALT text without keyword stuffing (opens in a new tab).
  • Decorative images: alt="" in every language. Do not fill it in during translation. See use empty ALT for decorative images (opens in a new tab).
  • Captions: translate them like the content, photo credits included (“Photo :” becomes “Foto:”), without translating the authors' names.
  • File names: translate them for language-specific images (campaign visual, translated interface screenshot). For a photo shared by every language, a single file with a neutral name is enough.
  • Text in the image: if the image contains text, it is a separate image to produce for each language. See check text embedded in images (opens in a new tab).
  • Icons and SVG: also translate the aria-label of icon buttons and the <title> elements of informative SVGs.

Sheet template for the images of a page (fictitious example):

Image Role Source alt (fr) Translated alt (de) Translated caption (de) File (de)
sencha-feuilles.jpg Informative Feuilles de sencha séchées, aiguilles vert foncé Getrocknete Sencha-Blätter, dunkelgrüne Nadeln Sencha aus Shizuoka, Ernte im Mai sencha-feuilles.jpg (shared)
campagne-noel-fr.jpg Informative Coffret de Noël avec trois thés et une tasse Weihnachtsbox mit drei Tees und einer Tasse — weihnachtsbox-tee.jpg
motif-feuille.svg Decorative (empty) (empty) — —

WordPress

Versions WordPress 6.8 to 7.1; WPML 4.x with Media Translation, Polylang 3.x, TranslatePress 3.x, Weglot, November 2026.

Alt text lives in two places: the Media Library (for each file) and the post content. The block editor copies the alt into the Image block at insertion time: editing the Media Library afterwards does not change images already inserted. So check the alt in the block of each translation.

  • WPML: media texts (alt, caption, title, description) are translated with the post, in the same translation job; the settings are in WPML > Settings, in the media translation section. The Media Translation module lets you use a different file for each language.
  • Polylang: enable the media module in Languages > Settings before you start (the documentation advises against changing this setting later). Each media item then gets translations of its texts, without copying the file.
  • TranslatePress: alt attributes and images are translated in the visual editor, by selecting the image.
  • Weglot: alt attributes are translated automatically and editable in the Weglot dashboard; review them.

Images set by the theme or a page builder (Elementor, Divi) sometimes have their alt in the widget settings: check that they appear in the translation tool.

Shopify

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

According to Shopify's developer documentation, the alt text of product, collection and blog post images is translatable content. In Translate & Adapt, open the resource, choose the language and look for the media alt text fields. If your interface does not offer them, the CSV export (Settings > Languages > Export) or a third-party translation app are the other options; check the result on the storefront.

Images placed in theme sections (banners, image with text blocks) have their text in the theme content, to be translated in the theme section of Translate & Adapt.

PrestaShop

Versions PrestaShop 8 and 9, Classic theme.

On the product page, open each image and fill in the caption field for each language with the language selector: the Classic theme uses it as alt text. Images inserted in descriptions and CMS pages are translated in the editor of each language, by editing the image properties.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.

In the Images And Videos section of the product page, switch the scope to the store view of the language, click the image and fill in Alt Text for that view. Images in CMS pages and blocks are translated in the version of the block specific to each store view.

Drupal

Versions Drupal 10 and 11.

In Configuration > Regional and language > Content language and translation, for the content type's image field, make the Alt and Title elements translatable, and leave File untranslatable if the same image is used in every language. Each translation of the node then has its own alt text.

Wix

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

With Wix Multilingual, fill in the alt text of each image in each language, from the Translation Manager or directly in the editor set to the secondary language.

Webflow

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

With Webflow Localization, the alt text of static images is localized per locale from the Assets panel; for images in CMS collections, add a localized alt text field to the collection and bind it to the image.

Laravel

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

Do not hard-code any alt in views. For template images, use the language files; for images stored in the database, store the text per language:

{{-- resources/views/products/show.blade.php --}}
<figure>
    <img src="{{ $image->url }}" alt="{{ $image->getTranslation('alt', app()->getLocale()) }}" width="800" height="600">

    @if($image->getTranslation('caption', app()->getLocale(), false))
        <figcaption>{{ $image->getTranslation('caption', app()->getLocale(), false) }}</figcaption>
    @endif
</figure>

The third argument false of laravel-translatable disables the fallback to the default language: an untranslated caption is not displayed, rather than appearing in French.

Next.js

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

// app/[locale]/tees/gruener-tee/page.tsx
import Image from 'next/image';
import { getTranslations } from 'next-intl/server';

export default async function GreenTeaPage() {
  const t = await getTranslations('GreenTeaPage');

  return (
    <figure>
      <Image src="/images/sencha-feuilles.jpg" alt={t('senchaAlt')} width={800} height={600} />
      <figcaption>{t('senchaCaption')}</figcaption>
    </figure>
  );
}

For images from a headless CMS, localize the alt text field in the CMS and request it with the page's locale.

Common mistakes

  • Translating the WordPress Media Library and assuming the pages follow: blocks already inserted keep the old alt.
  • Filling in the empty alt of decorative images during translation, or the reverse: emptying an informative alt because the field did not appear in the tool.
  • Machine translation of the alt without context: “Thé” translated in isolation, a variety name translated although it never changes.
  • Keyword stuffing in translated alt text to “make up for” the translation.
  • Forgotten captions in galleries, carousels and page builder blocks.
  • Visuals with French text reused as they are on the other versions.
  • Template icons and logos with an alt or an aria-label in the source language on every page.

Frequently asked questions

Should the alt attribute of images be translated on a multilingual site?

Yes, for every informative image. Google uses alt text, together with computer vision and the page content, to understand an image, and screen readers read it with the voice of the language declared by the page. An alt left in French on a German page helps neither German users nor image SEO. Decorative images keep an empty alt in every language.

Should image files be renamed for each language?

Only for language-specific images, such as a campaign visual or a translated interface screenshot: Google then advises translating the file name too. For a photo shared by every version, keep a single file with a neutral descriptive name, because duplicating it per language makes management heavier for a very small gain. The file name remains a light hint, far behind alt text.

Why don't my translated alt texts in WordPress appear on the page?

The block editor copies the alt text into the post content when the image is inserted. Editing the alt in the Media Library afterwards, even when translated by a multilingual plugin, does not update images already present in pages. Open the translation concerned, select the Image block and correct the alt text, or route it through your plugin's translation editor.

Do image captions matter for SEO?

They matter indirectly. Google states that it infers the subject of an image from the page content, and a caption placed right below the image is part of it. A precise, translated caption therefore helps associate the image with the right queries in each language, and every visitor reads it. Translate it like the rest of the content, credits included, without translating photographers' names.

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