开发者

How to disable localization for facebook like button

开发者 https://www.devze.com 2023-03-04 23:46 出处:网络
Facebook like button looks like \"Мне нравится\"开发者_运维知识库 on my russuin windows. How to disable this behavior? I want to see the same button on all browser and platfroms.the languag

Facebook like button looks like "Мне нравится"开发者_运维知识库 on my russuin windows. How to disable this behavior? I want to see the same button on all browser and platfroms.


the language is set in the code (in this case 'en_US'):

<script src="http://connect.facebook.net/en_US/all.js#appId=XXXXXXXXX&amp;xfbml=1"></script>

here's a list of all language codes:

facebook locales

yours is probably ru_RU so replace that with the code for your preferred language


Facebook locales follow ISO language and country codes respectively, concatenated by an underscore.


If the user is currently logged into Facebook, it will display in their localized language. If not, I believe it defaults to the language you specify in the script file include.

0

精彩评论

暂无评论...
验证码 换一张
取 消