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

Issue displaying Arabic text while login

SA-10550

Summary



When user provides invalid information in log in screen, the error message should be displayed in both English & Arabic. The web-login html has been modified to add a new <div> and the Arabic text is added. However, only one word of the Arabic text is displayed. Whenever there's more than one word, the Arabic text is not displayed.





Resolution



This issue is specifically with IE browser as the same code works fine in other browsers.

There are two issues consecutively.

1. At first, the browser was not accepting more than one word in IE browser. For this Local-change provided was as below:


<style type="text/css"> 
.ie td.returnElementStyle nobr
font-family:Courier !important; 

</style>


The above helps element prevents a text from breaking into a new line automatically, so it is displayed on one long line.

2. Next, the Arabic values were not being displayed on the Page.

On debugging with developer's tool, found out that the value is present on the HTML Page but does not get displayed.

To display the Arabic value font-family attribute needs to be changed. This can be done using the following way:
.classname {
        //if class if present
font-family:Verdana !important;
}


or

#id{  
        //if id is present
font-family:Verdana !important;
}


 or

a {
        //for anchor tags
font-family:Verdana !important;
}


or 

table, tr, td {
        //for table
font-family:Verdana !important;
}


The local-changes are required to be added in the UserWorkForm.
 

Published March 1, 2016 - Updated December 2, 2021

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