Defining administrator messages from MobileFirst Operations Console in multiple languages

You can set the deny and notification messages from IBM MobileFirst™ Platform Operations Console in multiple languages.

About this task

The messages are sent based on the locale of the device, and must comply with the ISO 639-1 and ISO 3166-2 standards.

Procedure

To add the deny and notification messages for multiple languages, follow these steps.

  1. From the first page of MobileFirst Operations Console, click the relevant application name and select the access Active, Notifying or Access Disabled.
  2. In the application access section, click "Edit... button". The label "Supported locales" is followed by the number of available locales. For example, "Supported locales (7)" indicates that seven locales are available for the messages that you want to add.

    In the Messages for multiple languages window, you can upload a CSV file.

    Such a CSV file must define a series of lines. Each line contains a locale code, such as "fr-FR" for French (France) or "en" for English, a comma, and the corresponding message text. The specified locale codes must comply with the ISO 639-1 and ISO 3166-2 standards. The first line with an empty locale defines the default message. If you did not define an alternative, or if the locale from the client matches none of the uploaded locales, this default message is displayed.

    Note: To create a CSV file, you must use an editor that supports UTF-8 encoding, such as Notepad.
    The following figure shows an example of a CSV file:
    Figure 1. Sample CSV file
    Content of a sample CSV file.
  3. Click Upload CSV to browse and select the CSV file that you want to upload. In "List of supported locales", you can see the locales and translated messages that you uploaded.
    Figure 2. Verifying locales and notification messages in CSV file
    Verify locales and messages in CSV file to upload.
  4. Process the uploaded messages:
    • To validate the messages that you uploaded, click OK.
    • To discard the changes and return to the console, click CANCEL.
    Note: If you modified the default message, then the new default message shows.
  5. To clear "List of supported locales", click Clear. This action does not clear the default message.
  6. Click Save to save the default message and the multilingual messages.

    The following figure displays the mobile device of the user, which shows the localized message. The title and the button caption are in English. If the locale does not supply any messages, the default message is returned.

    Figure 3. Application Disabled message
    Image of a mobile device that displays an Application Disabled message with the translation.