Facebook langauge code doesn´t work after update

GK User
Tue Aug 21, 2012 8:23 pm
After I updated to the latest version of the Musicity template (2.11) my language code (sv_SE) doesn´t work anymore for the Facebook like buttons. I have added my language code in the template settings but as you can see here the Facebook like button is still in English:

http://www.ffatest.se/artiklar/nyheter/ ... fran-nikon
User avatar
Platinum Boarder

GK User
Wed Aug 22, 2012 5:06 pm
You're right. Please open file social.php in template/layouts/blocks and replace line (159) from :

Code: Select all
  e.src = document.location.protocol + '//connect.facebook.net/<?php echo $this->API->get('fb_lang', 'en_US'); ?>/all.js';


to :

Code: Select all
 e.src = document.location.protocol + '//connect.facebook.net/<?php echo $this->getParam('fb_lang', 'en_US'); ?>/all.js';
User avatar
Platinum Boarder

GK User
Wed Aug 22, 2012 6:23 pm
I will do that! Please fix this in the next release of the template.
User avatar
Platinum Boarder

GK User
Thu Aug 23, 2012 10:01 am
Yes, of course it will be fixed in next update. Thanks for info.
User avatar
Platinum Boarder

GK User
Fri Aug 24, 2012 12:03 pm
I found this bug in more templates so it seems like it is in all of the templates.
User avatar
Platinum Boarder

GK User
Mon Aug 27, 2012 8:45 am
Yes we've notice this issue and it will be fixed in following update.
User avatar
Platinum Boarder


cron