A free extension like this survives only by reputation. You can help by submitting a review in the Joomla Extension Directory. Please take the time to make a review by clicking on the link below (opens in a new window)
First of all: thank you for the enormous amount of work that you have put in the development and updating of the eprivacy extension.
Now for my question: you suggest that for a translation of the cookie name and the cookie description (for a multilingual website), one could use the constants PLG_SYS_EPRIVACY_COOKIENAME_ and PLG_SYS_EPRIVACY_COOKIEDESC_ but although I have translate several constants, these two I cannot find. Searching by their English value gives no result either. Just putting these constants directly in the override fields to see if that would do the trick doesn’t work, because Joomla cannot find the constants to override. I am overlooking something?
in your site, find the /language folder. Inside, you may see a folder named "overrides" - if not, create it. Inside of /language/overrides/, for each language you have installed on your site, create an override file:
Inside of this overrides file is where your translations live.
Let's say you created a cookie definition for Google Analytics and made the constants PLG_SYS_EPRIVACY_COOKIENAME_GA and PLG_SYS_EPRIVACY_COOKIEDESC_GA
Inside of each of these overrides files, you would translate the constant:
PLG_SYS_EPRIVACY_COOKIEDESC_GA="We use Google Analytics to better understand user traffic and traffic patterns on our site so we can sell more stuff."
PLG_SYS_EPRIVACY_COOKIEDESC_GA="Nous utilisons Google Analytics pour mieux comprendre le trafic des utilisateurs et les modèles de trafic sur notre site afin que nous puissions vendre plus de choses."
The words « …and made the constants… » in your reply made all the difference.
I was assuming that these constants existed already, like others, so of course the overrides didn’t work, no matter how you created them. So putting the constants in the respective fields, does the trick. Satori.