Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Overriding the default language for an Email channel

Updated on June 21, 2021

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.
Before you begin: Select the languages that your Email channel supports. For more information, see Creating an Email channel.
  1. Switch to Dev Studio.
  2. In the navigation panel of Dev Studio, click App, and then search for the Data-Channel- class.
  3. Expand the Data ModelData Transform section for the Data-Channel- class, and then click pyGetDefaultLanguage.
  4. On the Definition tab in the GetDefaultLanguage data transform rule, in the Source column, enter a language in double quotation marks.
    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:
    The Param.DefaultLanguage target set to "German" in the GetDefaultLanguage data transform
    Default language for email bot overridden to German in the GetDefaultLanguage data transform
  5. Click Save.
  6. Switch back to App Studio.
What to do next: Define the Email channel behavior by setting suggested cases and responses, and configuring email text analysis for the email bot. For more information, see Defining Email channel behavior.
  • Previous topic Configuring the email bot to display a user name in emails
  • Next topic Enabling training the model based on email attachments

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us