Multilingual
You have multiple websites with different languages and you would like to set up your cookie management

1 -Video Presentation

2 - Set up Details

You need to have multiple configurations for your cookie management based on the languages you would like to display.
You can edit the texts and write your message. Then in the management of your configuration, you can write a "version ID" to be able to technically validate the version you want to trigger.

Back office integration

You can specify, in the "integration" part of your back office, on which page you want each cookie configuration to load :
Don't forget to check the RegExp checkbox !

Technical integration

Another way to do so, at the time of the integration of the Axeptio SDK on your website, you will only need to call on the right cookie version depending on the lang attribute present on your website. -> "lang" attribute
1
window.axeptioSettings = {
2
clientId: 'XXXXXXXXX',
3
};
4
5
if (document.documentElement.lang === 'en-US'){
6
window.axeptioSettings.cookiesVersion = 'version_1_EN';
7
}
8
9
if (document.documentElement.lang === 'fr-FR'){
10
window.axeptioSettings.cookiesVersion = 'version_1_FR';
11
}
12
13
if (document.documentElement.lang === 'es-ES'){
14
window.axeptioSettings.cookiesVersion = 'version_1_ES';
15
}
16
17
(function(d, s) {
18
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
19
e.async = true; e.src = "//static.axept.io/sdk.js";
20
t.parentNode.insertBefore(e, t);
21
})(document, "script");
Copied!
Done 👍 your language management is set up 😍
Last modified 7mo ago