Today we are happy to introduce translations - one of the most requested functionalities for Cookie-Script. From now on you can translate single Cookie-Script item to many languages and cookie popup will be shown in proper language automatically.
You can find all translations for current item in the Translations tab.
How website language is detected?
There are few ways you can set up Cookie-Script to detect currently selected website language:
1 Disabled: do not use translations
2 Auto detect language: try to detect language with HTML tag and if that fails, try to detect language with current webpage URL.
3 HTML tag only: This is most common option. Usually website has currently selected language written in
HTML tag, which makes it usefull for any automated software to detect website language.
HTML tag is a top parent element for all other elements on the page.
4 Website URL only: Current page link is analyzed for any existing languages, Translation is applied if language code is found in the link.
would trigger Italian translation since page URL contains
How do I add new translations?
Adding new translations is pretty straight forward, just click + Add translation button, choose translation language and fill in all the translatable fields. You can add many translations to same item. If some languages are not needed, you can delete them with Delete translation button.
We have included all EU languages for selection and also added pre-defined translations for those languages. However if you need to translate Cookie-Script popup to some other language, just choose Other language... in language selector and enter custom language code.