Localization

Botize currently supports three languages: English, Spanish and Japanese; more languages could be supported in the future.

Whenever an application must provide Botize with texts that will be displayed to the user (for example, the application title or the function configuration form), it has the option to provide these texts in one or more of the supported languages (texts should be provided at least in English).

The way to do this is as follows. The JSON object returned by the application in response to a command execution request may contain a “texts” element . Inside this element there may be an inner element for each of the supported languages, whose name is the ISO two letter language code (such as “en”, “es” or “jp”). And inside each of these elements, there are the translated texts themselves, each with a element name that is common to all languages. See the get_app_info command description for an example.