klaro-org / klaro-js

Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.
https://klaro.org
Other
1.19k stars 253 forks source link

Overriding default language settings #469

Closed thisdudeminds closed 1 year ago

thisdudeminds commented 1 year ago

I am implementing Klaro on my Danish website. The script does detect language settings in the browser and presents a sort of semi-Danish translated UI. However this has typos, missing translations and fails to stay consistent with terminology used in the Danish Data Protection Act. I have submitted a complete Danish translation da.yml - but for now I struggle with overriding the built in translation.

I have implemented a da - section of the language setting in the config file to no avail. I have downloaded the klaro.js script and updated the Danish translation embedded here. That does not change anything either. Could anyone please help me with directions on how to override this? Thanks in advance.

thisdudeminds commented 1 year ago

...sorry.... forgot that browsers in 2023 do cache scripts ..... I have managed to override the translation.