Can internationalization through facebook translations be implemented inside iFrame without using outdated FBML technology?

We spent some time using the Translations app for our old-style FBML FBML applications. The creation of FBML applications is now deprecated, and only iFrame applications can be created. We would also like to have translations in them and are considering how to use the Translations application to achieve this.

The internationalization page indicates that translations are rendered through (obsolete) FBML tags, such as fb: international . It also mentions that XFBML tags (the “new” JavaScript-processed set tag) can play a role, however the JavaScript documentation FB.XFBML.parse (..) The XFBML method does not list the XFBML internationalization tags available for use with it !

In short, I would like to know if we can use the Facebook translation application for translations within the iFrame application without using outdated technology?

[Facebook status, May 2011 ]

+3
source share
3 answers

, , , ( intl.getTranslations intl.uploadNativeStrings ).

, , , . : https://github.com/yeldarby/translation.js

+2

JavaScript SDK :

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({
    appId  : 'YOUR APP ID',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true  // parse XFBML
  });
</script>

en_US :

<script src="http://connect.facebook.net/en_US/all.js"></script>

FQL ( facebook)

http://developers.facebook.com/docs/reference/fql/translation/

+1

, , .

The only way you can use the translation application is to call intl.getTranslations , intl.uploadNativeStrings, or query the FQL conversion table

+1
source

All Articles