Maximo Application Suite
Customer-managed

Changing the language of email notifications

Starting in Maximo® Application Suite 9.0.3, you can configure the SmtpCfg custom resource file to change the language of system event emails from English to another language. In the SmtpCfg custom resource file, specify the template mode and the default language to determine which language is used.

About this task

If you are using earlier versions of Maximo Application Suite, you can change the language of system event emails in Maximo Application Suite 8.11.15 or 8.10.18.

You can change the language only for emails that are sent by Maximo Application Suite system events. You cannot change the language for emails that are sent by suite applications, such as Maximo Manage.

Procedure

  1. In the Red Hat® OpenShift® Container Platform console, in the Administration section, select Custom Resource Definitions.
  2. In the CustomResourcesDefinitions window, select the SmtpCfg file.
  3. On the Instances tab, select the instance that you want to update.
  4. On the YAML tab in the spec.config section, enter the template mode in the templateMode property:
    Template mode Description
    Default

    The emails that are sent are provided in the language that is specified in the defaultLanguage property.

    User

    If the user set their preferred language, the emails are provided in the user's preferred language. For more information, see Setting language and time zone preferences for users.

    If users have not set their preferred language, the emails are sent in the language that is defined in the defaultLanguage property.

  5. In the spec.config section, specify the language code in the defaultLanguage property.
    You can choose the following languages.
    Language code Language
    cs Czech
    da Danish
    de German
    es Spanish
    fi Finnish
    fr French
    hr Croatian
    hu Hungarian
    it Italian
    ja Japanese
    ko Korean
    nb Norwegian
    nl Dutch
    pl Polish
    pt-BR Brazilian Portuguese
    sk Slovak
    sl Slovenian
    sv Swedish
    tr Turkish
    zh-TW Traditional Chinese
    zh Simplified Chinese
    Note: If you enter a language code that is not supported or if you do not set the default language, the emails are sent in English.
  6. Save your changes.

Results

Depending on your configuration of the template mode and the default language, the appropriate language is used.

However, if you created a custom email template and set the template mode as custom, then emails are sent in the language that was used in the custom template. For more information, see Creating custom email templates.

Example

In the following example, the administrator specifies the template mode as User and the default language as Brazilian Portuguese. When an email is sent to a user, the email is provided in the user's preferred language that is set in their profile account. If the user does not have a preferred language set, then the email is sent in Brazilian Portuguese.
spec:
  config:
    templateMode: User
    defaultLanguage: pt-BR
In the following example, the administrator specified the template mode as Custom and Spanish as the default language. When an email is sent, the email template that is defined in the custom-email-templates ConfigMap is used, if available. If a custom version of the email template does not exist in the ConfigMap, then the email is sent in Spanish.
spec:
  config:
    templateMode: Custom
    defaultLanguage: es