Custom shop Snippet
Notice languages in a custom shop
Last updated 18 November 2026
In short
With data-lang="auto" the snippet takes the language from the page’s lang attribute, then og:locale, then the browser language. Official versions exist in the 24 official EU languages. Other languages show the English notice. Set a fixed language with data-lang="fr".
Automatic
The snippet checks in order:
- the
langattribute on the<html>element og:locale- the browser language
For a language without an official version the English one appears.
Fixed language
With data-lang="de" the snippet always shows the German version. This fits when each language version of your shop has its own pages with their own script.
Snippet texts
Alt text, close button and the “Open notice as image” link come from the snippet itself in all 24 languages.
Related questions
My shop sets no lang attribute. What now?
Then og:locale or the browser language applies. A correct lang attribute is better.
Does the GARAN label change with the language?
Yes. The snippet fills brand, model and years into the version for the page language.
Does de-AT count as German?
Yes. What counts is the language, not the country.
Was this article helpful?
What was missing? Send us a short note and we will add it to the article. Send feedback by email
Your choice is not stored or sent anywhere.
Thank you for your feedback. What was missing? Send us a short note and we will add it to the article. Send feedback by email