Overriding the default language for an Email channel
If you plan to support multiple languages in your application or one language other than English, you can override the default language of a new Email channel. Overriding the default language ensures that Pega Email Bot™ processes emails from users in the correct language, performs text analysis and provides automatic responses. By default, the system processes emails in English when you create an Email channel.For example, if an organization is interested in creating an email bot so that the system processes emails in French, you can specify French as the default language. Otherwise, if the organization does not change this setting, the email bot processes emails in English, by default.
- Switch to Dev Studio.
- In the navigation pane of Dev Studio, click App, and then search for the Data-Channel- class.
- Expand the section for the Data-Channel- class, and then click pyGetDefaultLanguage.
- On the Definition tab in the
GetDefaultLanguage data transform rule, in the
Source column, enter a language in double quotation
For example: To specify German as the default language, enter "German". Result: The following figure shows the GetDefaultLanguage data transform rule with the default language overridden to German:
- Click Save.
- Switch back to App Studio.
Previous topic Configuring the email bot to display a user name in emails Next topic Enabling training the model based on email attachments