Home / Docs / Translations

Languages and translations

Cookie banner translation in ClearCrumb is automatic: the banner follows your site language and ships in 16 languages, including Arabic and Hebrew from right to left. You only translate the title and message if you write your own, and WPML, Polylang and TranslatePress handle that. The cookie policy comes in 6 languages and follows the visitor’s language too.

How does cookie banner translation work?

The banner follows your site language automatically. ClearCrumb builds the banner text from the WordPress language of the page, so a German site gets a German banner without any setting. On a single-language site that is the Site Language under Settings → General.

WPML, Polylang and TranslatePress switch the WordPress language for each page, so on a multilingual site the banner changes with every page: the German page shows the German banner and the French page the French one. The preferences dialog, the buttons and the category names all follow the same language.

Regional variants share one dictionary. A site in de_DE or de_CH_informal gets German, and pt_BR gets Portuguese. Norwegian Nynorsk and plain Norwegian use the Bokmål text. That keeps cookie banner translation simple: you never pick a language by hand.

Cookie banner translation flow: the page language sets the built-in text, your own text comes from the multilingual plugin, and the policy link follows

Which languages are built in?

Part Languages
Banner (16) English, German, French, Dutch, Spanish, Italian, Portuguese, Polish, Swedish, Danish, Finnish, Norwegian, Czech, Romanian, Arabic and Hebrew.
Cookie policy (6) English, German, French, Dutch, Spanish and Italian. Other languages get the English policy.

The cookie policy in other languages is a fully English page, rather than English text with translated category names mixed in. You can read how the policy is built in the cookie policy shortcode guide.

If your site language is not built in yet, the banner uses English unless a translation is installed. The Banner screen tells you which case applies: it shows your site language code and whether the built-in text covers it.

ClearCrumb uses its own bundled cookie banner translation only when WordPress has none. A translation installed from translate.wordpress.org therefore always wins over the bundled one.

How do Arabic and Hebrew display?

Arabic and Hebrew mirror the banner and preferences dialog from right to left, so the layout reads naturally for those visitors.

ClearCrumb sets the text direction on the banner itself. The banner never inherits the wrong direction from the theme, so a left-to-right theme on an Arabic page still gets a right-to-left banner, and the other way round.

How do I handle cookie banner translation for my own text?

If you leave the Title and Message fields on the Banner screen empty, visitors see the translated default. Each field shows the default as a placeholder, so you can see what visitors get. The title takes up to 120 characters and the message up to 600.

Once you write your own text, ClearCrumb shows it exactly as you wrote it, in every language. To give each language its own version, translate it with your multilingual plugin, as described in the next section. Only the title and the message need this; everything else in the banner keeps its built-in cookie banner translation. The opt-out banner for US visitors always uses its built-in, translated title and message.

Cookie banner translation choice: leave the title and message empty for built-in languages, or translate your own text with a multilingual plugin

Which multilingual plugins work with ClearCrumb?

ClearCrumb works with WPML, Polylang and TranslatePress. When one of them is active, the Banner screen says so and tells you where to translate your text.

  • WPML: go to WPML → String Translation and pick the domain “ClearCrumb”. Your text appears as Banner title and Banner message.
  • Polylang: go to Languages → Translations, group “ClearCrumb”, and translate the same two strings.
  • TranslatePress: translate the banner text in the visual editor. It shows up as dynamic text once the banner is on the page.

ClearCrumb hands your text to WPML and Polylang when an admin screen loads and whenever you save the banner. If a new title does not show up in the string list yet, open any admin screen once and look again.

The cookie policy link points to the policy page in the visitor’s language. With WPML and Polylang, ClearCrumb links the translated copy of the page you set under Cookie policy page (URL); with TranslatePress it uses that page’s address for the current language. A link to another site stays as it is.

How can I help improve the translations?

Translations are managed on translate.wordpress.org, the official translation platform for WordPress plugins. Corrections from native speakers are very welcome: sign in with a WordPress.org account, pick your language and suggest better wording.

Approved strings reach sites as language packs through normal WordPress updates. Because ClearCrumb uses its bundled text only when WordPress has none, an approved cookie banner translation from the community replaces the bundled one automatically. Developers can read how this works in the WordPress plugin internationalisation handbook.

ClearCrumb Pro adds auto-translation into 40+ languages for sites that need more than the 16 built in. For the banner’s look in each language, see Cookie banner design.

How do I check each language?

A quick check after setup catches a missing string before visitors do. The banner stays hidden once you have answered it, so use a private window for every language you test:

  1. Open a page in the first language in a private window and read the banner title, message and buttons.
  2. Click Preferences and check that the category names and descriptions are in the same language.
  3. Follow the cookie policy link and check that it opens the policy page in that language.
  4. Repeat in a new private window for each language, including any Arabic or Hebrew version, where the dialog should read from right to left.

If one language shows your own text untranslated, add that string in your multilingual plugin. If it shows English built-in text, check that the page language is one of the 16 and that no outdated translation file overrides it. Repeat the check after you change the title or message, because every edit needs a fresh cookie banner translation in each language.

Cookie banner translation: questions

Why does my banner show in English?

Either your site language is not one of the 16 built in and no translation is installed, or you wrote your own title or message in English and have not translated it yet. The Banner screen shows which language it detected.

Do I need a multilingual plugin for cookie banner translation?

No. A single-language site only needs its Site Language set in WordPress. A multilingual plugin is needed only when one site serves several languages.

Is the cookie policy translated as well?

Yes, in English, German, French, Dutch, Spanish and Italian. It follows the site language like the banner; other languages get the English policy.

Do visitors in another country see another language?

No. The language follows the page, not the visitor’s location. Location only decides which consent rules apply; see Geo rules.