klaro-js
klaro-js copied to clipboard
Cant translate a line of text
Hi,
I'm trying to translate the details of cookie consent, but I cannot change one line:
Code looks like this:
translations: { // translationsed defined under the 'zz' language code act as default // translations. pl: { privacyPolicyUrl: 'https://new.abb.com/privacy-policy', consentModal: { description:'Please select the optional cookies we can set on your device.', title: 'Cookie Consent Settings', privacyPolicy: { name: 'privacy policy', text: 'To learn more, please read our {privacyPolicy}.', }, },
But it still leaves the polish translation for the 'to learn more ..." How I can fix it?
I cannot translate anything. On the site it just says "allows you to add your own translations or customize existing texts with just a few lines of code." How and where is this supposed to be done?