Making Open Graph Apps International-Ready
Facebook has posted a walkthrough that illustrates how apps built in Open Graph can be translated into various languages (a.k.a. making your app “I18N-ready”).
As the social network expands beyond the United States into global markets — which make up an estimated 75% of Facebook’s audience — localization becomes a key to developer success on the platform. Facebook has been increasingly aware of the need for translation and localization tools for developers, recently experimenting with a Microsoft Bing-powered “Translate” feature that allows users to view Page posts in their native language.
Automatically translating apps into various languages, however, is a function that can be performed in Open Graph. Developers need only apply Open Graph meta tags to objects with specific locales so that the app returns the correct strings for that locale. In the example posted, Facebook demonstrates how the meta tags would be applied to translate an Open Graph object into French and Spanish:
Once the strings are returned and the object locales declared, the translation process continues in one of three ways: