SAP Knowledge Base Article - Public

3115662 - System does not respect user's selected language

Symptom

  • Is it possible to map custom-String field to standard Field defaultLocale
  • System is not respecting language choice
  • After some time, the system language resets to English-US
  • System language is not saving
  • Default locale keeps changing to en-US

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Go to Options > Language 
  2. Change system language
  3. After some time, login back to the system
  4. System shows language English-US

Cause

Via BCUI

  • Go to BCUI
  • HRIS Sync Mappings
  • View mapping 

Via SDM Data Model

HRIS-SYNC mapping configuration in Succession Data Model : 3066117 - How to export Data Models?

If you find the below configuration on the Data Model,

 <hris-element-ref refid="personalInfo">

      <hris-mapping>

        <hris-field-ref refid="custom-string3"/>

        <standard-element-ref refid="defaultLocale"/>

      </hris-mapping>

    </hris-element-ref>

  </hris-sync-mappings>

It means the data source is EC field custom-string3 in <hris-element-ref refid="personalInfo">, it will override the standard element defaultLocale.

That's why the language is updated back to English US.

Resolution

Note: using custom-string3 as an example in this case

Please note that if personalInfo.custom-string3 is empty, en_US will be the default value.

We do not recommend and support above configuration.

To resolve this issue, either remove that Hrsis sync Mapping configuration or maintain desired language data in EC field custom-string3.

Example:

  • Step 1: Run full Hris Sync then export (UDF file or Employee Export)
  • Step 2: Backup (UDF file or Employee Export) into your desktop
  • Step 3: Remove wrong mapping code VIA BCUI or 3066117 - How to export Data Models?
  • Step 4: Run Full hris sync
  • Step 5: Export UDF and compare with Backup (UDF file or Employee Export) and correct all mising default local Via Basic import

If you use above configuration, custom-string3 must only be filled according to KBA 2269945 - List of Supported Languages with Locales for SuccessFactors

Example:

  • EC Field: custom-string3 = NO Record or Empty
  • The system will default: EP standard-element-ref refid="defaultLocale =  en_US
  • Result: This expected behavior.

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide: Human Resource Information System (HRIS) Synchronization - chapter:  Fields Hard-Coded for Syncing

     Guide:Employee Central Field: Data Object Tables in Employee Central

See Also

Keywords

custom-string, standard-element, defaultLocale, Hris sync, mapping EC, EP, employee profile, default, Locale, INC1191116, dafault language, default language change, data model field, default locale, default locale change, language keeps changing , KBA , LOD-SF-EC-HRS , HRIS Sync , LOD-SF-PLT-LAN , Manage Language & Text Replacements , Problem

Product

SAP SuccessFactors HCM suite all versions