I created a facebook app. It's in English. However I need it to be displayed in German (only if possible) by default. I went through the facebook manuals and, unfortunately, I couldn't find it.
Your thoughts?
UPDATE: Let me show what I want.
I (as an author) need it to be displayed absolutely in German, even any standard facebook label. I already set local to Deutsch (Setting->Advanced->Locale) but it's still in English.
Couldn't find what?
http://developers.facebook.com/docs/internationalization/
Added for question update:
Facebook:
If you're rendering a social plugin in an IFrame, Facebook
automatically translates the text because it's based on the viewing
user's locale.
If you're using XFBML, you need to load the JavaScript SDK in the
appropriate locale for your site. For example, if your site is in
Spanish, reference this script:
//connect.facebook.net/es_LA/all.js
Related
I have a website that supports few languages. Page detects and displays respective language based on browser settings (user can select desired language too).
Now id like to share this website with Facebook share.
According to Fb documentation i need to set a number of meta fields for needed language.
How can i detect a language Facebook is trying to scrape my website for? I was trying to use query`s fb_locale parameter, but it does not seem to pass this one with needed language.
Any ideas?
According to Fb documentation i need to set a number of meta fields for needed language.
This was never available for normal posts/shares in the first place, only for Open Graph stories - and for those it has been removed with API version 2.8, too.
https://developers.facebook.com/docs/apps/changelog#v2_8_deprecations
There is no way any more to do what you want.
I created a Facebook OpenGraph action (in English), got it approved, translated all the phrases to Spanish and "approved" all the created translations on the Facebook localization dashboard. In addition, I already set the locale metatags of my object urls to es_ES. Still the action always showing in English language.
The translation progress bars still showing at 0% progress even when I have translated all the strings and approved all of them (I am admin for the Facebook app) many times.
Already read all the Facebook localization docs. Anybody got through the same process and know what error may I have made? I don't know what more to do.
Thanks you all.
Try using the localized js URL:
From: //connect.facebook.net/en_US/all.js
To: //connect.facebook.net/LOCALE/all.js
I have a site, registered as an app on facebook (with fb login). The site is in English, and has og:title og:description app id etc in the meta for the pages.
If people Like a page on the site, the description and title is nicely put on their timeline.
But, if they use Facebook in Dutch, they get the title on their timeline, but the description of the article they shared is replaced by 4 times "niet beschikbaar" (that means "not available")
I tried Facebook in German, but there the English description is used....
Is this a Facebook bug? Or is it me? And why only (as it seems) the "error" for fb users using Dutch?
I do have the same issue. The tools/debug lint from facebook does not see any errors.
There is a bug reported, see:
http://developers.facebook.com/bugs/326334460804515?browse=search_51130494eb59c1a06817175
There is no solution there, hope there will be soon.
More information:
Aggregations
Some components of the Aggregations are translated by Facebook, and others are translated by your app.
In general, objects are translated by your app, and strings associated with actions are translated by Facebook.
Aggregation
An Aggregation's title and all of its caption text are translated through the standard Facebook Internationalization process. References to object title and object descriptions are translated by your app.
Source: https://developers.facebook.com/docs/technical-guides/opengraph/internationalization/
I really think it is a bug in the translations.
Greetings,
Kevin Hoekman
We're running a canvas app that has fully localized og tags. Everything is working well except when users choose to manually copy the facebook app url (apps.facebook.com/mysite) into a post.
When that happens, we want the text in the posted message to be in the user's language. Instead, it's always uses the English text from the og: meta tags.
If I could detect which culture the user came from, I could change those meta tags. However I don't see anything in the request header or parameters that are sent from the scraper to indicate where the user is coming from.
I did see that there's an og:locale:alternate tag I could use to specify other languages the page is available in, but unless I get a second request from Facebook with a locale value I don't see how that benefits me.
How can I ensure the posted title/description is in the user's language?
Must it be done using the Localization section in the Facebook App settings?
If so, is there a way to automate it? Our translation workflow is pretty well established and I don't want to send translators into the facebook app to finish the job.
You most probably need some parameter in the querystring to differentiate the urls.
e.g
http://apps.facebook.com/my_app/en/
or
http://apps.facebook.com/my_app/it/
this parameter will actually set the active language on your app.
And facebook scraper will cache the localized title/ description from the meta tags.
In Facebook API, there is a Hackbook project for a demo.
When I try to login to facebook via this Hackbook project, the login page is always not in English.
URL of the login page is http://m.facebook.com/dialog/oauth?xxxxxxx (it has more parametors .... )
so, I visited Facebook site(www.facebook.com) in Safari and changed the language to English, but the language in the login page from Hackbook project is not changed.
How can I change it to English? or is there the auto language detection in Facebook?
Any help would be appreciated!
There is an autodetection based on safari. I've tried to force the language on http://m.facebook.com adding the parameter "?locale2=en_EN"
So if you access to http://m.facebook.com/?locale2=en_EN, facebook login will be in english, but if you change the locale you can load any language you want (example: http://m.facebook.com/?locale2=es_ES for spanish)
I pressume you can use this parameter in your dialog call, but I didn't tried yet.
Best regards!
Don't work with en_EN, but with en_US worked. Also we can use locale param instead of locale2