You dynamically change the language of your website (without reloading the page)? Then you will have to change the version of your Axeptio widget at the same time!
This function takes as a parameter the identifier of the version to load.
For example, I have three versions here:
The IDs of my three versions are "axeptio-en", "axeptio-fr", and "axeptio-it".
If I translate my site into Italian, I will just have to call then the axeptioSDK.setCookiesVersion('axeptio-it') function.