You can display the administrator messages that you define in
IBM MobileFirst™ Platform Operations
Console in multiple languages.
About this task
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
- Select your application version from the
Applications section of the MobileFirst Operations Console navigation sidebar, and then select the application
Management tab.
- Select the status Active and Notifying or
Access Disabled.
- 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, you 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
- In the Verify notification message section, you can
see a table of the locale codes and messages from your CSV file. Verify the
messages, and select OK.
You can select Edit, at any time, to
replace the locales CSV file. You can also use this option to upload an empty
CSV file to remove all
locales.
- 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.