Cookie law translation

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Sep 05, 2014 4:29 pm
Reply with quote
Report this post
Hello,

I'm trying to find where to translate the text in cookie law and also to delete the button "allow for all sites". I've tried to find it by searching the forums but no luck.

I went to templates/gk_storebox/layout/blocks/cookielaw.php but it is not clear to me where i can alter the text because there are no direct text areas in the document.

Also tried language overrides but it didn't work.

Can someone point me in the right direction?

Thanks!
User avatar
Expert Boarder

GK User
Fri Sep 05, 2014 10:43 pm
Reply with quote
Report this post
Hi,
In most cases all strings are here: gk_storebox\language\en-GB.tpl_gk_storebox.ini
so in your case after installation they will be
language\en-GB\en-GB.tpl_gk_storebox.ini

Code: Select all
TPL_GK_LANG_COOKIE_ALLOWCOOKIES="Allow cookies"
TPL_GK_LANG_COOKIE_ALLOWCOOKIESIMPLICIT="Close"
TPL_GK_LANG_COOKIE_ALLOWFORALLSITES="Allow for all sites"
..
TPL_GK_LANG_COOKIE_CHANGEFORALLSITESLINK="Change settings for all websites"
..
TPL_GK_LANG_COOKIE_PRIVACYSETTINGSDIALOGSUBTITLE="Some features of this website need your consent to remember who you are."
TPL_GK_LANG_COOKIE_CHANGEFORALLSITESLINK="Change settings for all websites"
TPL_GK_LANG_COOKIE_PREFERENCEUSEGLOBAL="Use global setting"
TPL_GK_LANG_COOKIE_PREFERENCECONSENT="I consent"
TPL_GK_LANG_COOKIE_PREFERENCEDECLINE="I decline"


But remember you don't have to use Cookie features from template, you can also use additional plugin/module if you like much better - you have freedom.
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.