+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Define administrator messages in multiple languages

We can display the administrator messages that you define in IBM MobileFirstâ„¢ Platform Operations Console in multiple languages.

Follow the outlined procedure to configure multiple languages for displaying the application administration messages that you defined through the console (see Remotely disabling application access to protected resources and Displaying an administrator message). The messages are sent based on the locale of the device, and must comply with the standards that the mobile operating system uses to specify locales.


Procedure

  1. Select your application version from the Applications section of the MobileFirst Operations Console navigation sidebar, and then select the application Management tab.
  2. Select the status Active and Notifying or Access Disabled.
  3. Select Update Locales. In the Upload File section of the displayed dialog window, select Upload, and browse to the location of a CSV file that defines the locales.

    Each line in the CSV file contains a pair of comma-separated strings. The first string is the locale code (such as fr-FR for French (France) or en for English), and the second string is the message text in the corresponding language. The specified locale codes must comply with the standards that the mobile operating system uses to specify locales, such as ISO 639-1, ISO 3166-2, and ISO 15924.

    Note: To create the CSV file, we must use an editor that supports UTF-8 encoding, such as Notepad. Following is a sample CSV file that defines the same message for multiple locales:

    Figure 1. Sample CSV file

    Content of a sample CSV file of locale messages.

  4. In the Verify notification message section, we can see a table of the locale codes and messages from your CSV file. Verify the messages, and select OK.
    We can select Edit, at any time, to replace the locales CSV file. We can also use this option to upload an empty CSV file to remove all locales.
  5. Select Save to apply your changes.


Results

The localized notification message is displayed on the user's mobile device, according to the locale of the device. If no message was configured for the device locale, the default message that you provided is displayed.

Parent topic: Mobile-application management