- Posts: 5
COMMUNITY FORUM
Like in K2
- goblin
- Topic Author
- Offline
- New Member
Less
More
11 years 1 week ago #118726
by goblin
Like in K2 was created by goblin
Hi i have problem witch Like fb it works but the tekst "Be the first of your friends to like this." i want to trlanslate and i dont now how and where i can do this.
Please Log in or Create an account to join the conversation.
- George Nasis
- Offline
- Elite Member
Less
More
- Posts: 214
11 years 1 week ago #118727
by George Nasis
Replied by George Nasis on topic Re: Like in K2
Go the the folder Administrator->language->en-Gb
There is the file where you can find this and change it.
There is the file where you can find this and change it.
Please Log in or Create an account to join the conversation.
- George Nasis
- Offline
- Elite Member
Less
More
- Posts: 214
11 years 1 week ago #118728
by George Nasis
Replied by George Nasis on topic Re: Like in K2
sorry i remembered that it is a button..you cannot translate it..
Please Log in or Create an account to join the conversation.
- goblin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 1 week ago - 11 years 1 week ago #118729
by goblin
Replied by goblin on topic Re: Like in K2
But it generate from fb. I think i must change the property of this plugin but i dont now how. The tweeter is in the proprerty of K2 but the fb - i can change the size od icon only. If i look on my site in the code its generate with iframe from fb. If i go on developers.facebook.com and generate like button its on the language from my country. So its posible to change it
Please Log in or Create an account to join the conversation.
- George Nasis
- Offline
- Elite Member
Less
More
- Posts: 214
11 years 1 week ago - 11 years 1 week ago #118730
by George Nasis
Replied by George Nasis on topic Re: Like in K2
<?php if($this->item->params->get('itemFacebookButton',1)): ?>
<!-- Facebook Button -->
<div class="itemFacebookButton">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-send="false" data-width="200" data-show-faces="true"></div>
</div>
<?php endif; ?>
This is the code..maybe you can change the js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; to your own language
the en_Us to your own language
and this can help a lot www.gavick.com/forums/boutique/how-to-translate-facebook-like-and-send-button-s-11979.html
<!-- Facebook Button -->
<div class="itemFacebookButton">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-send="false" data-width="200" data-show-faces="true"></div>
</div>
<?php endif; ?>
This is the code..maybe you can change the js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; to your own language
the en_Us to your own language
and this can help a lot www.gavick.com/forums/boutique/how-to-translate-facebook-like-and-send-button-s-11979.html
Please Log in or Create an account to join the conversation.