Question
Becton Dickinson Technology Campus India LLP
IN
Last activity: 24 Jun 2024 8:43 EDT
Translation from one language to another language
Hi,
How can we change the language from English to any other language at run time.
Ex: If a give a word like "I am simple" in a text box or a form. This needs to be converted to any other language like french/spanish/Hindi.
Is there any possibility to implement this requirement?
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 24 Jun 2024 8:43 EDT
Pegasystems Inc.
CA
Hello @NareshKumarG, you can find more on the Digital Messaging real-time translation functionality here: https://docs.pega.com/bundle/customer-service/page/customer-service/constellation-implementation/chat-messaging/enabling-real-time-translation-for-the-web-messaging-widget.html
Kind regards,
Infosys Limited
IN
For this, you need to call google translate api from pega to get the translation. Explore google translate api and configure the connector in pega to call that.
Becton Dickinson Technology Campus India LLP
IN
Thank you very much for the quick response.
The of call of Google translate API will applicable to entire form or only on a specific property? Can you elaborate please how it will works on all the screes that we have.
Infosys Limited
IN
It works for the property i believe as you are calling the api for each of the property. Check if the google translate has the api to accept list of the values and the corresponding translation. If it there then pass the property values which you want to translate in the form and once you get the response map it to the translated properties.
Eclatprime Digital Private Limited
AU
To change the language from English to any other language at run time, you can enable real-time translation for the Web Messaging widget in Pega Platform. By configuring the Web Messaging widget, you can select the language that customers will interact in, add localization languages, and turn on the enable real-time translations switch. Additionally, you can select a third-party translation service, such as Google Translate, and enter the API key for the translation service. Once the configuration is saved, customers will be able to communicate in the selected languages with the system translating the text in real-time.
Becton Dickinson Technology Campus India LLP
IN
@AnkithaReddyR Thanks for the response.
Can you ping the configuration steps link. It would be helpful to read and implement.
Pegasystems Inc.
GB
@AnkithaReddyR can you help with the missing steps?
Here is a GenAI powered answer based on our Pega Knowledge functionality's use of the api:
To configure the Google Translate API in Pega, follow these steps:
- Obtain the Google Translate license separately.
- In the header of Dev Studio, search for and open the TranslationAPIsettings data transform.
- In the .EndpointURL row, in the Source field, enter the translation service endpoint URL.
- In the .Key row, in the Source field, enter the authentication key.
- Click Save as to save the data transform in your application ruleset.
- Enable the auto-translation in the Pega Knowledge portal.
After configuring the auto-translation API, authors can select the desired translation languages. When the article is published, the articles marked for translation are automatically sent through the auto-translation API, translated, and then returned to the application.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references
Configuring language translation > Enabling auto translation in Pega Knowledge
@AnkithaReddyR can you help with the missing steps?
Here is a GenAI powered answer based on our Pega Knowledge functionality's use of the api:
To configure the Google Translate API in Pega, follow these steps:
- Obtain the Google Translate license separately.
- In the header of Dev Studio, search for and open the TranslationAPIsettings data transform.
- In the .EndpointURL row, in the Source field, enter the translation service endpoint URL.
- In the .Key row, in the Source field, enter the authentication key.
- Click Save as to save the data transform in your application ruleset.
- Enable the auto-translation in the Pega Knowledge portal.
After configuring the auto-translation API, authors can select the desired translation languages. When the article is published, the articles marked for translation are automatically sent through the auto-translation API, translated, and then returned to the application.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references
Configuring language translation > Enabling auto translation in Pega Knowledge
@NareshKumarG can you mark accept solution if you have enough to work with?
Accepted Solution
Updated: 24 Jun 2024 8:43 EDT
Pegasystems Inc.
CA
Hello @NareshKumarG, you can find more on the Digital Messaging real-time translation functionality here: https://docs.pega.com/bundle/customer-service/page/customer-service/constellation-implementation/chat-messaging/enabling-real-time-translation-for-the-web-messaging-widget.html
Kind regards,