Facebook share button has strange label:
<span class="pluginButtonLabel">කැමතියි</span>
Label is: " කැමතියි "
How can that happened? Or how can I change it?
Label is like that only when I change site language to Slovenian......
Regards
Mayki
Facebook share button has strange label: <span class="pluginButtonLabel">කැමතියි</span> Label is: " කැමතියි " How can that happened? Or how can I change it? Label is like that only when I change site language to Slovenian......
Regards Mayki "When things get tough the tough get going..." |
Check this, I ram into this kind of issues only when I switch to Portuguese (iso-8859-1) which was in two files (admin-inc.php and design.inc.php) , the correct value is UTF-8. I |
Check this, I ram into this kind of issues only when I switch to Portuguese (iso-8859-1) which.....
Thanks for the suggestion, but thi isn't the case. Both files you mentioned have UTF-8 encoding.... My guess is this must be something related directly with FB.... since this happend all of the sudden.... I don't know.... Greetings Mayki "When things get tough the tough get going..." |
SOLVED I found this: in DB table "sys_objects_social_sharing" for Facebook: <iframe src="//www.facebook.com/plugins/like.php?href={url_encoded}&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=21&locale={locale}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100%; height:21px;" allowTransparency="true"></iframe>
and I removed the part: locale={locale} Slovenian is now correctly shown but it does not change with site language i.e. if I switch to English the FB Like button is in Slovenian..... If there is locale={locale} then instead sl_SI locale I somehow end up with si_LK which is locale for Shri Lanka..... Then I checked my language settings and for Slovenian language the code was si witch is not correct, it must be sl. After that the flag for slovenian language was wrong so I renamed /media/images/flags/si.png to sl.png and added back locale={locale} now it is OK. The FB caption is changing with site language and caption for Slovenian language is now shown correctly. Regards Mayki "When things get tough the tough get going..." |