Translating
If you need to, you can translate any of the 'strings' in the cookie notice (like 'Accept' and 'Manage Cookies'). In order to do this, you'll need to create a JSON translations file:
- In your
lang
folder (orresources/lang
for some sites), create a{locale}.json
file (replace{locale}
with the name of the locale you wish to translate - egen.json
) - You may then set keys & values to represent the default string and the string of your translation.
1// lang/de.json2 3{4 "Accept": "Annehmen"5}