How to translate the cookie alert

The plugin Cookies CK has been designed multilanguage, this means that you can translate it like you want in any language, but also change the message that is displayed.

 

How to create my own language

First thing that you can check is the list of available existing translations : See all translations for Cookies CK

Then you can create your own language in the path

[root]/administrator/language

For each language you must have a folder here. Example : en-GB for english, fr-FR for french, de-De for german ...

You can paste the .ini files, or create your own files by copying the en-GB files

en-GB.plg_system_cookiesck.ini
en-GB.plg_system_cookiesck.sys.ini

into your own language (example with german) to put in the correct language folder

de-DE.plg_system_cookiesck.ini
de-DE.plg_system_cookiesck.sys.ini

 

The full path of your files in this example will be

[root]/administrator/language/de-DE/de-DE.plg_system_cookiesck.ini

 

Override the existing language

Joomla! has a language override system included in the core. Go in your admin >> Extensions >> Language >> Overrides

language override admin menu

Then click on the New button to create your override. Here you must set 2 things :

  • the initial language string to override. You will find all strings in the language files (see above for location)
  • the new translated message

In the plugin Cookies CK, the message that is shown in the bar is rendered using the string COOKIESCK_INFO

See how you can write your own message here

language override example

 

Download Cookies CK

Outil de création rapide, puissant et responsive.

En savoir plus

Extensions favorites

logo maximenuck 110 logo pagebuilderck 110 logo slideshowck 110template creator ck large 449

Sauvegarder
Choix utilisateur pour les Cookies
Nous utilisons des cookies afin de vous proposer les meilleurs services possibles. Si vous déclinez l'utilisation de ces cookies, le site web pourrait ne pas fonctionner correctement.
Tout accepter
Tout décliner
Analytics
Outils utilisés pour analyser les données de navigation et mesurer l'efficacité du site internet afin de comprendre son fonctionnement.
Google Analytics
Accepter
Décliner