Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Confirmation message not translated to French

SA-67501

Summary



The confirmation message, 'Are you sure to delete', triggered while deleting an item from the grid is not translated to French for the fr_FR user locale.


Error Messages



Not Applicable


Steps to Reproduce

  1. Launch the Agent portal.
  2. Open a new interaction.
  3. Navigate to the Contacts tab.
  4. Click the Delete icon on the existing contact.


Root Cause



The confirmation message was not translated to French because it was added as a static text.

function removeFromRepeatSource(D) {
   
if(window.confirm("Are you sure to delete")){



Resolution



Perform the following local-change:
  1. Replace the below code,

    function removeFromRepeatSource(D) {
       
    if(window.confirm("Are you sure to delete")){ 


    with

    function removeFromRepeatSource(D) {
      var localizeString = '<%=tools.getLocalizedTextForString(".pyMessageLabel","Are you sure to delete") %>'; 
    if(window.confirm(localizeString )){

  2. Create a field value for 'Are you sure to delete' in pyMessageLabel.

 

Published January 9, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us