Symptom
There's one or more of the error messages below when importing a custom locale in the Manage Languages tool:
- The uploaded file has an unsupported locale or no custom translation has been created for it yet.
- The imported file contains unsupported locale or there exists no custom language pack for the locale.
- The uploaded file has a locale that doesn't match the locale you want to customise.
- LANG_PACK_INVALID_COLUMN_HEADER_ERROR_ISSUE:Invalid column headers.
- Issue: Invalid column headers. / Solution: Make sure that the file has two columns; "Key" is the header of the first column and the locale code is that of the second column; and the headers are in the first row.
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 HCM Suite
Reproducing the Issue
-
Navigate to Admin Center > Manage Languages
- Try to upload custom locale file
- One of the following error messages is displayed:
- The uploaded file has an unsupported locale or no custom translation has been created for it yet.
- The imported file contains unsupported locale or there exists no custom language pack for the locale.
- The uploaded file has a locale that doesn't match the locale you want to customise.
- LANG_PACK_INVALID_COLUMN_HEADER_ERROR_ISSUE:Invalid column headers.
- Invalid column headers.
Cause
The locale code in the file is not a perfect match of the locale code to which you are trying to import the custom labels or the character encoding is not set as UTF-8.
Resolution
- Ensure that you are opening / editing the file you wish to proceed with the upload within Notepad, Open Office, or any UTF-8 editor. It is not recommended using Microsoft Excel as it may cause issues with special characters.
- Follow the sample code available on the Customizing UI Text with the Manage Languages Tool Help Guide where the file header must contain the "Key","Locale ID":
Make sure that the file header contains only "Key","Locale ID" (For example: "Key","en_US" as the image above). - Ensure that the CSV file you wish to proceed with the upload has UTF-8 encoding, not UTF-8-BOM or any other type of encoding.
- Open the custom translation you want to edit and import the file by clicking on "Upload Now". You will see the message "This may take a while. You can refresh this page later to check upload results".
- Refresh the page, open the custom translation you edited and see that the "Validation of Last Upload" is "Success".
See Also
- 2576546 - Using the Manage Language Feature to Change Labels in SuccessFactors - SAP for Me
- 2088077 - How to customize / change labels on SAP SuccessFactors HXM Suite - SAP for Me
- 2868138 - Language translation update not triggered under Manage Languages - SAP for Me
- 3209205 - Manage Languages > Custom Locale > Upload Custom Labels > Error: "push language packs to i18n management exception" - PLT - SAP for Me
- Customizing UI Text with the Manage Languages Tool
Keywords
sf, successfactors, Custom Language, 3 Tier, Tier, Error Language Pack Import, The uploaded file has an unsupported locale or no custom translation has been created for it yet, translation, encoding, invalid column , KBA , LOD-SF-PLT-LAN , Manage Language & Text Replacements , LOD-SF-PLT , Platform Foundational Capabilities , Problem