Internationalizing System-Generated Notifications

You can internationalize notifications generated by the ENOVIA products.

For example, ENOVIA Business Process Services sends notifications to a person when an event occurs that the person has subscribed to, such as when a user adds a document to a folder. All applications with a routing feature notify task assignees when their tasks are created. These system-generated emails can be sent in the language chosen by the user or they can be sent with the message text repeated in multiple languages.

This task shows you how to:

Specify Default Languages for System Notifications

You can specify the default languages the system uses for notifications.

  • If the user has not or cannot specify a Default Language (if this option was removed from the Preferences page), update this property in emxSystem.properties to define the languages to include in email notifications:

    emxFramework.NotificationLanguages = en

    The language must have a corresponding emxFrameworkStringResource.properties file. By default, these languages are English (en), French (fr), German (de), Italian (it), and Japanese (ja).

    The message text of each system-generated notification is repeated in all of the languages you specify. The subject will be in the first language listed. Use the standard abbreviation for each language and separate languages by a space. For example, if you enter the value "en fr de", the subject of all system emails will be in English and each message will be repeated in English, French, and German.

    Only messages with translated text defined in the appropriate emxFrameworkStringResource.properties file can be internationalized; ad hoc messages created by users cannot be internationalized. When a user creates an ad hoc message, all recipients receive the message in the language used by the message creator.

    See About Internationalizing for details on how the system determines which languages to use for send notifications.

Remove a Language from the User Preference List

You can remove a language from the user's preference list.

  1. Open emxSystem.properties, located in Apps/Framework/VERSION/UserInterface.

  2. Delete the language and the space following it from the IconMailLanguagePreference property.

    For example, to remove Italian, you would change this line:

    emxFramework.IconMailLanguagePreference=English German French Italian Japanese 

    To this:

    emxFramework.IconMailLanguagePreference=English German French Japanese

  3. Comment out the IconMailLanguageLocale property that corresponds to it by adding a # to the beginning of the line. For example:

    emxFramework.IconMailLanguageLocaleEnglish=en
    emxFramework.IconMailLanguageLocaleGerman=de
    emxFramework.IconMailLanguageLocaleFrench=fr
    #emxFramework.IconMailLanguageLocaleItalian=it
    emxFramework.IconMailLanguageLocaleJapanese=ja

  4. Save the file.

  5. Run the warutil and deploy the archive file as always when making changes to files under the staging directory.

  6. Restart the application server.

Add a Language to the User Preference List

You can add a lanugage to the user's preference list.

  1. Open emxSystem.properties, located in Apps/Framework/VERSION/UserInterface.

  2. Add it to the IconMailLanguagePreference property, separated from the other languages with a space.

  3. Add an IconMailLanguageLocale property for the language and set the value to the standard abbreviation for the language.

  4. Save the file.

  5. Make sure you run the warutil and deploy the archive file as always when making changes to files under the staging directory.

  6. Restart the application server.

  7. Make sure the emxFrameworkStringResource.properties file for the language has a set of properties for the drop-down list text.