# Translation from one language to another language

**URL:** <https://forums.pega.com/t/translation-from-one-language-to-another-language/7084>\
**Category:** User Experience\
**Tags:** user-experience, data-integration, pega-platform\
**Created:** [May 24, 2024, 6:26am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084 "2024-05-24T06:26:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![NareshKumarG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NareshKumarG](https://forums.pega.com/u/NareshKumarG)\
**Post date:** [May 24, 2024, 6:26am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/1 "2024-05-24T06:26:38Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![P.Siva.Praveen](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/p.siva.praveen/32/22985_2.png) [@P.Siva.Praveen](https://forums.pega.com/u/P.Siva.Praveen)\
**Post date:** [May 24, 2024, 6:37am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/2 "2024-05-24T06:37:15Z")

</div>

@NareshKumarG

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.

---

<div class="post-metadata">

**Author:** ![NareshKumarG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NareshKumarG](https://forums.pega.com/u/NareshKumarG)\
**Post date:** [May 24, 2024, 7:08am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/3 "2024-05-24T07:08:17Z")

</div>

@P.Siva.Praveen

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.

---

<div class="post-metadata">

**Author:** ![AnkithaReddyR](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@AnkithaReddyR](https://forums.pega.com/u/AnkithaReddyR)\
**Post date:** [May 24, 2024, 7:12am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/4 "2024-05-24T07:12:18Z")

</div>

@NareshKumarG

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.

---

<div class="post-metadata">

**Author:** ![NareshKumarG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NareshKumarG](https://forums.pega.com/u/NareshKumarG)\
**Post date:** [May 24, 2024, 10:44am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/5 "2024-05-24T10:44:26Z")

</div>

@AnkithaReddyR Thanks for the response.

Can you ping the configuration steps link. It would be helpful to read and implement.

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [June 7, 2024, 9:14am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/6 "2024-06-07T09:14:05Z")

</div>

@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:_

1. _Obtain the Google Translate license separately._
2. _In the header of Dev Studio, search for and open the TranslationAPIsettings data transform._
3. _In the .EndpointURL row, in the Source field, enter the translation service endpoint URL._
4. _In the .Key row, in the Source field, enter the authentication key._
5. _Click Save as to save the data transform in your application ruleset._
6. _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](https://docs.pega.com/bundle/knowledge-management/page/knowledge-management/implementation/configure-language-translation.html)

@NareshKumarG can you mark accept solution if you have enough to work with?

---

<div class="post-metadata">

**Author:** ![MireilleDallaire](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mireilledallaire/32/22496_2.png) [@MireilleDallaire](https://forums.pega.com/u/MireilleDallaire)\
**Post date:** [June 7, 2024, 11:58am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/7 "2024-06-07T11:58:35Z")

</div>

Hello @NareshKumarG, you can find more on the Digital Messaging real-time translation functionality here: [Pegasystems Documentation](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,

---

<div class="post-metadata">

**Author:** ![P.Siva.Praveen](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/p.siva.praveen/32/22985_2.png) [@P.Siva.Praveen](https://forums.pega.com/u/P.Siva.Praveen)\
**Post date:** [May 24, 2024, 7:17am UTC](https://forums.pega.com/t/translation-from-one-language-to-another-language/7084/8 "2024-05-24T07:17:42Z")

</div>

@NareshKumarG

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.
