Skip Navigation
May 26, 2021

The CookieYes plugin adds a subtle banner about cookie law compliance to your website, either in the header or footer. Use WPML to easily translate the content of this message.

 Message in original language Message translated to German

Original front-end message (English)

Translated front-end message (German)


Getting started and what to check

Is your site already configured by your developer?

Ask them to install and configure core WPML plugins (WPML Multilingual CMS, WPML String Translation, and WPML Translation Management).

Are you setting up WPML yourself?

If so, you need to follow the steps below.

Set up WPML from the WPML → Languages page. See our WPML Getting Started Guide for a complete reference. The initial three-step setup is simple and self-explanatory, asking you to choose a default language, set of active languages, and language selector. (For starters, choose the footer language selector. You can change this later.)

Next, install and activate the core WPML plugins (WPML Multilingual CMS, WPML String Translation, and WPML Translation Management) followed by other WPML plugins that may depend on them.

Install the CookieYes plugin and define the options.

WPML translation tools

WPML offers two translation editors you can use for translating your site’s content:

Besides translating your site content yourself, you can also:

Making your content translatable using WPML

Go to the WPML → Theme and plugins localization page, scroll down to the Strings in the plugins section and select GDPR Cookie Consent from the list. Finally, click on the Scan selected plugins for strings button.

Selecting the right plugin to scan

Translating your CookieYes Message Bar and Buttons

Once you’ve set your consent message on the GDPR Cookie Consent → Settings page, you will need to translate it. We will translate the main Cookie Message and the Accept All button as shown below:

Your cookie message with the Accept button

1. Go to the WPML → String Translation page.
2. Use the filter on the top of the page to find the text you want to translate.

Selecting the right string to scan

3. When you find the relevant string, click on the plus symbol under the corresponding language you want to translate first. A dialogue box will open where you can add the translation. Once you’ve completed the translation, simply click on the tabbed arrow for the next language to save and move on. If there are no more translations to add, click outside of the dialogue box to automatically save and exit the box.

Translating the button text

4. Follow the same steps to translate the main Cookie Consent message:

Translating the message

If you choose to display a Read More button, the user needs to be redirected to a landing page via a link in the correct language.

1. Go to the GDPR Cookie Consent → Settings page, click the Customise Buttons tab, and then the Read more sub-tab. Set the URL in the default language. In our example, our Read More button links to “”.

Setting the URL for the button

2. Now, go back to the WPML → String Translation page and search for this button’s string.

Searching for the hyperlink text to translate

3. Click the plus symbol and translate the text just like any other string.

4. Repeat these steps for translating the link’s URL, remembering to add the necessary language extension, eg, “de” for German.

Translating the link URL

Getting help from our support

In case you need help translating your site built using CookieYes and WPML, visit WPML’s support forum.