klaro-js
klaro-js copied to clipboard
Multilanguage link - privacyPolicy
Hi! First of all - thanks for great plugin!
I serach in examples, but with no luck, so my question is: How to link a page with "Privacy settings" depending on language?
Example
// Put a link to your privacy policy here (relative or absolute).
privacyPolicy: 'https://domain.tld/privacy-policy/'
and for some other language should be:
privacyPolicy: 'https://domain.tld/hr/pravila-privatnosti/'
I tried something like this, but with no luck
translations: {
hr: {
privacyPolicy: 'https://domain.tld/hr/pravila-privatnosti/',
consentModal: {
...
Thanks in advance for the answer!
Good idea, we'll add this in one of the next releases.
@BitchCO I just created a PR which addresses your issue #161
Uhh, I already forgot about this... I'm doing a new multilingual project at the moment so I'm looking forward to trying it out! ;)