k2 facebook like button: change language

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
Wed Jul 10, 2013 11:12 am
Reply with quote
Report this post
hi,
try to figute out how to change facebooks "en_EN.js" to german...

i found these facebook like button part in item.php (/components/com_k2/templates/default/) in line 317.
changed "en_EN" to "de_DE" but takes no effect.

if i inspect source code, i can see that the like button comes via iframe with en_EN javascript...

you can find k2 article with social buttons here:
http://www.fan-television.de/news/niede ... e-autobahn

i'm using latest firefox browser, latest k2 update, latest news template version
User avatar
Senior Boarder

GK User
Wed Jul 10, 2013 11:26 am
Reply with quote
Report this post
Hey.
Please go to:
Extensions -> Template Manager
click on gk_news template, go to "options" tab, and open Social API section - there You will find the settings.
User avatar
Moderator

GK User
Wed Jul 10, 2013 12:04 pm
Reply with quote
Report this post
i know these settings but these settings are just for social buttons in joomla articles not working for k2..
User avatar
Senior Boarder

GK User
Wed Jul 10, 2013 3:52 pm
Reply with quote
Report this post
Ok, Ill suggest that as a bug. Meanwhile, You could edit:
/templates/gk_news/html/com_k2/templates/default/item.php, then find line number 247, and change:
Code: Select all
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";


to:
Code: Select all
js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1";
User avatar
Moderator

GK User
Wed Jul 10, 2013 4:53 pm
Reply with quote
Report this post
thanks a lot. that was very simple
User avatar
Senior Boarder


cron