Google+ button traslate

GK User
Tue Nov 11, 2014 9:02 pm
Hi
In K2 items, can i change the language of the google+ button???. He said (Poleć to publicznie jako) I need it in spanish.
Sorry my english and thanks for the help.

Roberto
User avatar
Fresh Boarder

GK User
Tue Nov 11, 2014 11:41 pm
Hi,
please check template settings , Social tab.
If won't help give me sign here.
User avatar
Platinum Boarder

GK User
Wed Nov 12, 2014 8:07 am
Hi Oscar

Thanks for the answer but...
I puf on template social tab my language. I put es-ES... And not change. I put en-Gb and not change.
Any suggestion?
User avatar
Fresh Boarder

GK User
Wed Nov 12, 2014 11:50 pm
ok, last try, do you have installed the last version of template?
If you're not sure, just download again and reinstall.

p.s.
I searched for PL language but :( everywhere are EN
User avatar
Platinum Boarder

GK User
Thu Nov 13, 2014 2:05 pm
Updates... "Your template is up to date" sniff
User avatar
Fresh Boarder

GK User
Thu Nov 13, 2014 2:13 pm
Hi again... this problem only happens in k2 items, in joomla articles work fine.
Where change the social options for k2 items... i don't know where

Thanks again
User avatar
Fresh Boarder

GK User
Thu Nov 13, 2014 2:24 pm
here: gk_university\html\com_k2\templates\default\item.php
is code for social buttons inside K2 items view, from line 275

but find line 309 (google+)
window.___gcfg = {lang: 'en'}; // Define button default language here

and try to replace with this
Code: Select all
window.___gcfg = {lang: '<?php echo $this->API->get("google_plus_lang", "en-GB"); ?>'};

or
Code: Select all
window.___gcfg = {lang: 'es-ES'};



I'm not sure but it may help
User avatar
Platinum Boarder

GK User
Thu Nov 13, 2014 2:29 pm
Works!!!!

Thank you very much!!
User avatar
Fresh Boarder

GK User
Thu Nov 13, 2014 5:28 pm
Ufff, great.
You're right strange issue.
User avatar
Platinum Boarder


cron