SAP Knowledge Base Article - Public

3785593 - Rendering Issue in browser with Bidi Mixed Arabic/English Text values when viewing data in Employee Central

Symptom

When having a value that has a mix of Arabic and English language; it is observed that when changing locale the value switches order.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Make sure you instance has Arabic locale/language and English language installed.
  2. Log in as Arabic Locale and set a specific field with a mixed English and Arabic values (For example: "Arabic1-English-Arabic2" value)
  3. Now switch locale to English and look at the field value
  4. Note how the field value switches order (The Example turned into:  "Arabic2-English-Arabic1" value)

Cause

This is a browser limitation on how it handles bidirectional (BiDi) text rendering. It is related that the string value contains both Arabic (RTL) and English (LTR) characters,

 Since this is standard browser behavior and the application cannot override the direction for this specific text without affecting the layout, there is no safe application-side change that resolves both issues simultaneously. 

Resolution

Since this is standard browser behavior and the application cannot override the direction for this specific text without affecting the layout, there is no safe application-side option to change this behavior.

We can therefore only recommend if possible to avoid using mixed RTL and LTR language string values.

Keywords

INC25214629, mixed locale values, BIDI rendering, Left-to-Right, Right-to-Left, LTR, RTL , KBA , LOD-SF-EC-JOB , Job Information , LOD-SF-PLT , Platform Foundational Capabilities , LOD-SF-EC-POS , Position Management , Problem

Product

SAP SuccessFactors HCM Core all versions