Borlabs Cookie supports WPML, Polylang and Weglot. WPML and Weglot offer some advantages over Polylang and the setup with WPML and Weglot is easier than with Polylang.
After you have installed and activated Weglot, all you need to do is configure your API key and target languages.
It is important that you select the language you use in WordPress under Original Language.
Working with Weglot
Using Weglot, you can configure Borlabs Cookie individually per language.
To do this, select the language you want to configure Borlabs Cookie for in the toolbar at the top. You cannot select the All languages option for Borlabs Cookie.
Make sure that on the right side of the Borlabs Cookie menu bar, in the language selection drop-down menu, you see the correct language.
With Weglot the translation should be done directly with the selection of the appropriate language (German or English).
Work with multiple languages
Borlabs Cookie can link different languages based on the ID of the Cookies, Cookie Groups and Content Blockers. To do this, the ID must be identical across all languages.
The selected Cookie Group is not available in the current language.
If you receive this message, you tried to change the language while you were in the edit mode of a Cookie, Cookie Group or Content Blocker and the ID does not yet exist in the target language.
You can now either save the entry to create the ID for the selected language or click on the Dashboard or Help & Support to have Borlabs Cookie create the default entries (see next section).
Standard Cookie Groups, Content Blocker and Cookies are missing
By default, Borlabs Cookie creates the four Cookie Groups (Essential, External Media, Marketing, and Statistics), the Borlabs cookie, and Content Blocker.
If you add a new language, these default entries will be missing, as shown in the picture below.
To fix the problem, just click Dashboard or Help & Support. Borlabs Cookie will detect the missing default entries and create them.
From the status display of Default Content Blocker, Default Cookie Groups, and Default Cookies you can see that the default entries have been created.
If you now click back on, e.g. Cookie Groups you will see the four default groups.
Note for Borlabs Cookie as of version 2.1
If the default entries cannot be created, make sure that the language code consists of only 2 characters (ISO 639-1, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), e.g. pt and not pt-pt.
As of version 2.1 of Borlabs Cookie, language codes longer than 2 characters are also supported. For this, the following entry must be stored in the wp-config.php:
Texts in the wrong language
If the texts on the English side are in German or vice versa, you can simply correct that.
Once the WordPress is loaded in the language you want to set up Borlabs Cookie in, you can select the Reset option under Cookie Groups, Cookies and Content Blocker in the overviews at the very bottom to have all default entries created in the correct language.
Under Cookie Box, you simply empty all fields in the text settings and click on Save. The texts will then be loaded in the current language.