An International Facebook Like and Send Button Plugins can not directly be created at Facebook Developer page however we can tweak the code to change the language of the buttons to any country we choose. I previously shared a tutorial on how to add Facebook Like and Send buttons in blogger but those buttons were by default in English USA. Now suppose you live in England but run a Spanish blog. When you go to the Facebook developer page, you will be given a code that will let your users to share your posts in English but your users are from Spain and they will be much more satisfied with your work. In order to make things smoother for your visitors follow the simple steps below:
Facebook Like and Send Button in Different Languages
The Default button style and code for the XFBML version looks like this,
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="" send="true" layout="button_count" width="450" show_faces="false" font=""></fb:like>
The only part of the code that you will need to change is the language code en_US . Replace it with your local language code may that be Spanish, Urdu, Hindi, Turkish, French, Japanese, Chinese, Korean, Arabic or Romanian.
If you are using the Iframe version then you need to include a locale parameter with the proper country code in the src URL. For Example,
src="http://www.facebook.com/plugins/like.php?locale=en_US&..."
Again you need to replace en_US with the local code.
PS: To accommodate different languages you will also need to change the width of the button.
Local language codes For Facebook:
- Catalan
ca_ES- Czech
cs_CZ- Welsh
cy_GB- Danish
da_DK- German
de_DE- Basque
eu_ES- English (Pirate)
en_PI- English (Upside Down)
en_UD- Cherokee
ck_US- English (US)
en_US- Spanish
es_LA- Spanish (Chile)
es_CL- Spanish (Colombia)
es_CO- Spanish (Spain)
es_ES- Spanish (Mexico)
es_MX- Spanish (Venezuela)
es_VE- Finnish (test)
fb_FI- Finnish
fi_FI- French (France)
fr_FR- Galician
gl_ES- Hungarian
hu_HU- Italian
it_IT- Japanese
ja_JP- Korean
ko_KR- Norwegian (bokmal)
nb_NO- Norwegian (nynorsk)
nn_NO- Dutch
nl_NL- Polish
pl_PL- Portuguese (Brazil)
pt_BR- Portuguese (Portugal)
pt_PT- Romanian
ro_RO- Russian
ru_RU- Slovak
sk_SK- Slovenian
sl_SI- Swedish
sv_SE- Thai
th_TH- Turkish
tr_TR- Kurdish
ku_TR- Simplified Chinese (China)
zh_CN- Traditional Chinese (Hong Kong)
zh_HK- Traditional Chinese (Taiwan)
zh_TW- Leet Speak
fb_LT- Afrikaans
af_ZA- Albanian
sq_AL- Armenian
hy_AM- Azeri
az_AZ- Belarusian
be_BY- Bengali
bn_IN- Bosnian
bs_BA- Bulgarian
bg_BG- Croatian
hr_HR- Dutch (België)
nl_BE- English (UK)
en_GB- Esperanto
eo_EO- Estonian
et_EE- Faroese
fo_FO- French (Canada)
fr_CA- Georgian
ka_GE- Greek
el_GR- Gujarati
gu_IN- Hindi
hi_IN- Icelandic
is_IS- Indonesian
id_ID- Irish
ga_IE- Javanese
jv_ID- Kannada
kn_IN- Kazakh
kk_KZ- Latin
la_VA- Latvian
lv_LV- Limburgish
li_NL- Lithuanian
lt_LT- Macedonian
mk_MK- Malagasy
mg_MG- Malay
ms_MY- Maltese
mt_MT- Marathi
mr_IN- Mongolian
mn_MN- Nepali
ne_NP- Punjabi
pa_IN- Romansh
rm_CH- Sanskrit
sa_IN- Serbian
sr_RS- Somali
so_SO- Swahili
sw_KE- Filipino
tl_PH- Tamil
ta_IN- Tatar
tt_RU- Telugu
te_IN- Malayalam
ml_IN- Ukrainian
uk_UA- Uzbek
uz_UZ- Vietnamese
vi_VN- Xhosa
xh_ZA- Zulu
zu_ZA- Khmer
km_KH- Tajik
tg_TJ- Arabic
ar_AR- Hebrew
he_IL- Urdu
ur_PK- Persian
fa_IR- Syriac
sy_SY- Yiddish
yi_DE- Guaraní
gn_PY- Quechua
qu_PE- Aymara
ay_BO- Northern Sámi
se_NO- Pashto
ps_AF- Klingon
tl_ST
If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »
Thank you!
ReplyDelete@Marko
ReplyDeleteThanks to you for the idea. Could you kindly share the Iframe version code for both like and send button here?
The problem is that it's not as simple as it sounds to add it to a standard web page. The "Send" button will only work if you use the XFBML version, not if you use the iframe code and most people don't have the ability to use the XFBML code because it requires adding some extra code in a couple of other places on the page as well.
ReplyDeleteIt's very misleading on the Facebook page and clicking the "Send" button box when you fill out the form for the iframe code will display the Send button on your page next to the Like button it won't actually work when someone clicks it
actually after little research i found we cannot use the iframe version of the send button because facebook does not support it. You have to use the javascript api and fbml version. Their documentation is a bit misleading. After this research and going through other sites info i have found and confirmed the iframe version of the send button is not yet supported.
ReplyDelete@raj
ReplyDeleteI checked the codes in my test blog and found that whatever you said is undoubtedly right. I searched for a solution to the problem and came up with only one thing that the plugin Api were set to old Facebook's algorithms and with the recent change in plugins codes most library tags are not functioning as they previously did. I will wait till I find a better solution and will update the post. Thanks for confirming the problem.
Great help. Thanks
ReplyDeletethanks very much
ReplyDeletevery useful...
ReplyDeleteGreat