In short
Structured data contains text: the name and description of a product, the title of an article, breadcrumb labels, the questions of an FAQ, the steps of a recipe. On a multilingual site, this text often stays in the source language because it is hard-coded in a template, entered only once in a plugin or copied when the translation was created. The check consists of translating each text property of the JSON-LD of each version, and only those: types, codes and identifiers are not translated. Once it is done, the markup of each page describes, in its language, exactly what the page displays.
Why it matters
Google's general structured data guidelines require the markup to be a true representation of the page content and not to describe content that is invisible to the reader. A Product whose name and description are in French on a German page does not describe what the German user sees: at best the markup is useless, at worst it is considered misleading or inconsistent with the page.
Marked-up text is also displayed text. Breadcrumb labels appear below the title of results on desktop, and a product's name and attributes can feed merchant listings. Markup left in French produces French text in German results.
As for generative engines, no vendor documents precisely how it uses JSON-LD. What is certain is that markup that contradicts the page helps no one understand it; consistent markup, on the other hand, guarantees no citation.
What it improves
- Consistency between the visible page and its markup, a basic requirement of Google's guidelines.
- Display in results Breadcrumbs, product name, attributes and rich snippets in the searcher's language.
- Eligibility for the rich results still offered (products, merchant listings, events, job postings, recipes), which require markup that matches the content.
- Understanding by language Each version describes its entities in its language, with its own URLs.
- Rankings No direct effect. Structured data is not a ranking factor.
How to check
This Python script, with no dependencies, lists the text properties of the JSON-LD present in the HTML of a page:
# jsonld_textes.py — usage: python3 jsonld_textes.py https://example.com/de/tees/sencha/
import json
import re
import sys
import urllib.request
TEXT_KEYS = {
"name", "headline", "alternativeHeadline", "description", "text", "abstract",
"caption", "keywords", "slogan", "recipeIngredient", "recipeInstructions",
"recipeCategory", "recipeCuisine", "color", "material", "title",
}
CHECK_KEYS = {"inLanguage", "url", "priceCurrency"}
def walk(node, path=""):
if isinstance(node, list):
for item in node:
walk(item, path)
return
if not isinstance(node, dict):
return
label = node.get("@type", "?")
label = "/".join(label) if isinstance(label, list) else label
for key, value in node.items():
if key in TEXT_KEYS or key in CHECK_KEYS:
for item in value if isinstance(value, list) else [value]:
if isinstance(item, str):
print(f"{path}{label}.{key}\t{item[:100]}")
if isinstance(value, (dict, list)):
walk(value, path if key == "@graph" else f"{path}{label}.{key} > ")
request = urllib.request.Request(sys.argv[1], headers={"User-Agent": "Mozilla/5.0"})
html = urllib.request.urlopen(request).read().decode("utf-8", "replace")
pattern = r'<script[^>]*application/ld\+json[^>]*>(.*?)</script>'
for block in re.findall(pattern, html, re.S | re.I):
try:
walk(json.loads(block))
except json.JSONDecodeError as error:
print(f"Invalid JSON-LD: {error}")
Result on a correctly translated German product page:
WebPage.url https://example.com/de/tees/sencha/
WebPage.name Sencha Fukamushi kaufen
WebPage.inLanguage de-DE
Product.name Sencha Fukamushi
Product.description Tief gedämpfter grüner Tee aus Shizuoka …
Product.offers > Offer.priceCurrency EUR
BreadcrumbList.itemListElement > ListItem.name Startseite
A line such as Product.description Thé vert japonais… or ListItem.name Accueil signals untranslated text; a url without /de/ signals a URL that has not been adapted.
The script only reads the initial HTML. If the markup is injected by JavaScript (Google Tag Manager, single-page application), use the Rich Results Test, which shows the markup after rendering, or the Schema Markup Validator on the rendered code.
For the whole site, Screaming Frog extracts the JSON-LD of each URL (structured data extraction); export it by language directory and check the texts in Google Sheets with =DETECTLANGUAGE(), bearing in mind that detection is unreliable on short texts and proper names.
How to implement
Before you start
Classify each property before translating. This table covers the most common types:
| Property | Translate? | Note |
|---|---|---|
name, headline, alternativeHeadline |
Yes | Except a brand name or registered product name, kept as is |
description, abstract, caption, text |
Yes | Same text as the one displayed on the page |
ListItem.name (breadcrumb) |
Yes | See translate breadcrumbs and FAQs (opens in a new tab) |
Question.name, Answer.text |
Yes | Questions rewritten for the market, identical to the visible FAQ |
recipeIngredient, recipeInstructions, HowToStep.text |
Yes | Units adapted to the country |
color, material, attribute values |
Yes | With the terms displayed on the product page |
keywords |
Rewrite | From the keywords of the language, not translated word for word |
Organization.name, brand.name |
No | Unless there is an official local form of the brand |
Organization.description, slogan |
Yes | In the markup of the version concerned |
address (PostalAddress) |
No | The real address, as registered; addressCountry as an ISO code |
url, @id |
Adapt | URL of the language version; a distinct @id per page, stable for the organization |
inLanguage |
Adapt | Code of the page language, for example de-DE |
price, priceCurrency |
Adapt | Price and currency actually displayed in that market, not a theoretical conversion |
@type, availability, itemCondition |
Never | schema.org vocabulary, identical in every language |
gtin, sku, mpn, isbn |
Never | Identifiers |
image |
Depends on the image | A localized image only if it contains text |
reviewBody, reviews |
Do not rewrite | Mark up the reviews displayed; a translation must remain identifiable as such |
The properties to adapt without translating have their own guides: use inLanguage on compatible types (opens in a new tab), adapt url to the language (opens in a new tab), keep a stable organization @id (opens in a new tab) and create a distinct @id for each page (opens in a new tab).
Good to know:
inLanguageis a property of creative works (CreativeWork:WebPage,Article,FAQPage…) and of a few other types such asEvent, not ofProduct. Put it on theWebPagethat contains the product.
The principle that prevents almost every omission: the markup is generated from the same fields as the visible content. Text hard-coded in a template, in a Google Tag Manager tag or in a “custom schema” field does not follow the translation; a variable that reads the title, excerpt or description of the translated page does.
WordPress
Versions WordPress 6.4 to 7.1; Yoast SEO 20 and later or Rank Math 1.0, with WPML 4 or Polylang 3.
Yoast SEO builds its JSON-LD graph from the content of each page: with WPML or Polylang, each translation is a separate piece of content, so its title, description and breadcrumb come out in its language. Yoast fills in inLanguage from the page's WordPress language; check it with the script, as discrepancies have been reported on some archives. Texts set only once (organization name and description, breadcrumb labels) are translated in Languages > Translations (Polylang) or WPML > String Translation.
Rank Math: schema templates that use variables (%title%, %excerpt%, %seo_description%) follow the translation. Texts typed by hand in a page's Schema Generator are copied as is into the translation with some configurations: open the schema of each translation or, better, replace these texts with variables.
WooCommerce: the Product markup uses the name and description of the translated product. With multiple currencies (WooCommerce Multilingual & Multicurrency, for example), check that price and priceCurrency match the price displayed in each language.
JSON-LD added by the theme: use the content functions, which return the translated version, rather than fixed strings:
// Child theme functions.php
add_action('wp_head', function (): void {
if (! is_singular('post')) {
return;
}
$data = [
'@context' => 'https://schema.org',
'@type' => 'BlogPosting',
'headline' => get_the_title(),
'description' => get_the_excerpt(),
'inLanguage' => get_bloginfo('language'),
'url' => get_permalink(),
];
echo '<script type="application/ld+json">' . wp_json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) . '</script>';
});
If Yoast or Rank Math already mark up posts, do not add this block: you would create a duplicate.
Shopify
Versions Shopify, Online Store 2.0 themes (Horizon, Dawn), Translate & Adapt app, November 2026.
The structured_data filter generates the markup of a product or article from the Liquid object. Its documentation says nothing about language: check on a /de/ URL that the name and description come out translated. For markup written in the theme, use the Liquid objects, which return the Translate & Adapt translations in the page's language, and the json filter, which escapes texts correctly:
{%- comment -%} Theme product section, for example sections/main-product.liquid in Dawn {%- endcomment -%}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": {{ product.title | json }},
"description": {{ product.description | strip_html | truncate: 500 | json }},
"url": {{ request.origin | append: product.url | json }},
"offers": {
"@type": "Offer",
"price": {{ product.selected_or_first_available_variant.price | divided_by: 100.0 | json }},
"priceCurrency": {{ cart.currency.iso_code | json }},
"availability": "https://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}"
}
}
</script>
Any fixed texts ("Free shipping") must go through a translation key ({{ 'products.shipping_note' | t | json }}). Remove the theme's structured_data markup if you replace it with this one.
PrestaShop
Versions PrestaShop 8 and 9.
Product page markup is produced by the theme templates from the product's multilingual fields: it follows the language of the page. Fixed template texts are translated in International > Translations, theme translations. If an SEO module adds its own markup, check that it reads the fields of the current language and not those of the default language.
Magento
Versions Magento Open Source and Adobe Commerce 2.4 (2.4.6 to 2.4.9).
Marked-up values come from the product attributes for the displayed store view. Translate the name, description and text attributes in each view (scope set to the language's store view, Use Default Value checkboxes cleared), otherwise the German store view marks up the default texts.
Drupal
Versions Drupal 10 and 11; Metatag 2 and Schema.org Metatag 3.
With the Schema.org Metatag module, fill in properties with tokens ([node:title], [node:summary]) rather than with text: tokens return the page's translation. For text entered by hand, the meta tags field must be declared translatable in Configuration > Regional and language > Content language and translation, then filled in for each translation.
Laravel
Versions Laravel 10 to 13, with spatie/schema-org 3 to 5 (version 5 requires PHP 8.4) and spatie/laravel-translatable 6.
With the spatie/schema-org package and translated models (Spatie's laravel-translatable, for example), attributes return the current language:
use Spatie\SchemaOrg\ItemAvailability;
use Spatie\SchemaOrg\Schema;
$schema = Schema::product()
->name($product->name)
->description(str($product->description)->stripTags()->limit(500)->toString())
->sku($product->sku)
->url(route('products.show', $product))
->offers(
Schema::offer()
->price($product->priceFor($market))
->priceCurrency($market->currency)
->availability(ItemAvailability::InStock)
);
{{-- resources/views/products/show.blade.php --}}
{!! $schema->toScript() !!}
priceFor() and $market stand for your per-market pricing logic. Fixed texts go through __(), never through a string written in the controller.
Next.js
Versions Next.js 15 and 16 (App Router).
Generate the JSON-LD in the page component, from the data of the requested language:
// app/[locale]/produits/[slug]/page.tsx
import { getProduct } from '@/lib/catalog';
export default async function ProductPage({ params }: { params: Promise<{ locale: string; slug: string }> }) {
const { locale, slug } = await params;
const product = await getProduct(slug, locale);
const jsonLd = {
'@context': 'https://schema.org',
'@type': 'Product',
name: product.name,
description: product.description,
url: `https://example.com/${locale}/produits/${product.slug}`,
offers: {
'@type': 'Offer',
price: product.price,
priceCurrency: product.currency,
availability: 'https://schema.org/InStock',
},
};
return (
<main>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(/</g, '\\u003c') }}
/>
<h1>{product.name}</h1>
</main>
);
}
getProduct(slug, locale) must return the translated fields and the slug for the language; replacing < follows the recommendation in the Next.js documentation to prevent code injection.
Common mistakes
- JSON-LD hard-coded in the template or in Google Tag Manager, identical in every language.
- Custom schema copied when the translation was created, and never revisited.
- Translating the vocabulary: a translated
@typeoravailability("Produkt","Auf Lager") makes the markup invalid. - Translated brand: the name of the organization or brand changes from one language to another for no official reason.
- URLs not adapted: texts translated, but
urlanditempoint to the French version. - Inconsistent currency:
priceCurrencyin euros on a page that displays Swiss francs. - Translated reviews presented as originals, or marked up without being displayed on the page.
Frequently asked questions
Should structured data be translated on a multilingual site?
Yes, the text properties of structured data must be in the language of the page: name, description, headline, breadcrumb labels, questions and answers, steps. Google requires the markup to be a true representation of the visible content. Types, schema.org vocabulary values such as InStock, identifiers such as the GTIN and the brand name, however, are not translated; URLs and currency are adapted to the version.
Should the company name be translated in Organization markup?
No, keep the official name of the organization identical in every language, with the same @id, so that search engines recognize a single entity. Do translate its description, however, and an official local form, if one exists, can go in alternateName. The address remains the real address, written as it is registered. A name translated freely from one page to another blurs the identification of the company.
Is markup left in French on a German page penalized?
There is no documented automatic penalty for this case, but the markup no longer matches the visible content, which Google's guidelines require. It may lose its eligibility for rich results and display French text in German results, for example in the breadcrumb. Fix it by generating the markup from the page's translated fields.
Do AI engines read translated structured data?
No generative engine vendor documents precisely how it uses JSON-LD. Google and Bing use structured data to understand pages, and their AI features rely on their indexes. Translating the markup at least ensures that it does not contradict the page. Do not count on it to get cited: the visible content, in the right language, is still what matters.
Resources
- Google Search Central: General structured data guidelinesdevelopers.google.com
- Google Search Central: Structured data markup that Google Search supportsdevelopers.google.com
- schema.org: inLanguage propertyschema.org
- Shopify: structured_data filtershopify.dev
- Yoast: Schema APIdeveloper.yoast.com
- spatie/schema-orggithub.com
- Next.js: JSON-LDnextjs.org
Updated on
Topic checklist (PDF)