Internationalization/Accessing Translations

From Facebook Developer Wiki

Jump to: navigation, search

Accessing your Translations

Facebook Translations is designed to make internationalization as simple and easy as possible. To help you with this, we've provided you with multiple ways to view and access the text you've registered for translation, as well as the translations provided by Facebook users. The translation data retrieved from these methods may be used or stored however you choose.

Non-programmatic Access

You can always view and edit your text and translations from the Translations application admin console. Exporting is not currently possible from this interface (see below for options that allow this).

Programmatic Access

There are two programmatic ways in which you can access translation data:

  1. By calling the intl.getTranslations API method. We created an API method for the sole purpose of easily querying all of your translations for a particular language. Read the intl.getTranslations documentation for more details.
  2. By querying the translation FQL table. For developers who want a more powerful interface to query specific strings, we've created a translations FQL table that you can use to query a very select set of translation data. Read more about it now.
reference