How to add multi language support to a page (French fanpage for those using french facebook, english fanpage for those using EN facebook) - facebook-page

I'm trying to have my fanpage's "welcome" page to show a different video and lines of text wether they are using french settings on facebook or english. So those using the french facebook UI will see the french video and text below and those using the default english will see the default english page.
Hopefully someone can point me to some help, I really am not sure how ot do this...

Use locale property of Graph User object if you have a custom app tab. Info here: http://developers.facebook.com/docs/reference/api/user/
Also, would be good to read this: http://developers.facebook.com/docs/internationalization/
I don't think you can translate the non-app facebook page at the moment.

When a user access the fanpage's tab, the application that provides the tab content get 'signed_request' from Facebook. In signed_request, there is 'user.locale' property. Just use it to determine what locale code the user is using.
http://developers.facebook.com/docs/authentication/signed_request/

Related

Set default Firebase Docs Language

Whenever I access the Firebase documentation in Brazil, the docs appear in Portuguese. I found out I can force the English language by appending the hl=en parameter to the URL, but I'd like to know if there's a way to make it a default setting.
BTW, I have my Google account set to English already.
If you want to set Language to English. Follow Steps:
Go to Docs
You will see dropdown menu like image below:
Click on it then you will see "English" Click on it. And you will see the page has been converted to English Language.
I hope that I helped you :)

How to add a bespoke social sharing message to a specific page

I've used services like 'Add This' for a while but now I need to add a couple of specific bits of functionality to an ecommerce order completion page. It's to work like Amazon's order thank you page where it allows you to post a message to Facebook saying something like 'I just bought a widget on Amazon'.
Equally I'm looking for the equivalent in Twitter.
I've added a bunch of OG tags and share buttons but can't get it to do what I need. From further reading it sounds like I might need to create a Facebook app of some sort and use FB ui to create the link to post to the user's wall. I was hoping to do this without getting tangled up in that level of permissions etc but maybe that's not possible any more?
This is being developed on asp.net C#, in case there's a library that I haven't found in my searching.
Can anyone familiar with this type of development point me in the right direction?
For Twitter, the simplest way is to use Web Intents.
For example, if you want to share the text
I love http://example.com
URL encode the text to I%20love%20http%3A%2F%2Fexample.com and use the Twitter Web Intent URI. E.g.
https://twitter.com/intent/tweet?text=I%20love%20http%3A%2F%2Fexample.com
When the user clicks on that link (try it!) or is directed there by your service, they'll be prompted to share that text.

Website Language Translator messes up Header CSS

I am using GOOGLE TRANSLATE plugin to use in my website but when a person visiting the website and changes the language e.g from English to French, the Header titles moves down.
I have used the GOOGLE TRANSLATE to test the translation but it do translates but the Header goes down due to a dropdown that appears and i have to close it each time i translate for the html page to be normal.
Try one Translate and see it guys and help me to solve this.
i am using a free hosting to test my website(index.html only) and
my website is http://www.trialwebsite.comze.com/Index.html
Thanks a lot guys!

How can I implement globalization on hyperlink

I have three hyperlink English, Spanish, and Chinese. When a user clicks on Spanish, all the content of website will change into Spanish (and so on). I tried to find an answer for this on Google but didn't get a perfect answer. If you have any links, could you please share with me. I don't know how to implement globalization.
Note:-I am try to implement on Hyperlink.
Here is a tutorial that uses a ComboBox to switch between languages. The tutorial saves the last culture selected in the Session collection. You could store it in a cookie if you would like it to be persistent across visits.
Localization Tutorial

Facebook application open graph actions in non-english language

I have Facebook application that has non English native language, but when I create and use open graph actions and objects they appear English. I can not change action texts to my native language because it does not accept my characters and because native language is not english I can not translate it.
How can I use and see open graph actions and objects in my native language?
Go to your app settings page under https://developers.facebook.com/apps/, edit your app settings – on the left you should find a link saying „translate your app” (or something similar, I'm currently using the german interface), it's currently the second link from bottom.
And https://developers.facebook.com/docs/internationalization/ explains the whole process.

Resources