SAP Knowledge Base Article - Public

2566612 - Custom Translation validation failed in Manage Languages

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

  1. Navigate to Admin Center > Manage Languages
  2. Try to upload custom locale file
  3. 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

  1. 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. 
  2. 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).
  3. 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.
  4. 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".
  5. Refresh the page, open the custom translation you edited and see that the "Validation of Last Upload" is "Success".

See Also

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

Product

SAP SuccessFactors HCM Suite all versions