Salesforce

WorldServer - after upgrade to 11.8.1, error at Save "The language code 'sr-Latn_CS' is not supported on this system"

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentWorldServer
Symptoms/Context

After upgrading from earlier versions (including 11.8.0) to 11.8.1, a project's task submitted before the upgrade with the target language Serbian (Latin) fails at the Save step with the error:

The language code 'sr-Latn_CS' is not supported on this system

The same error happens for Serbian (Cyrillic):

The language code 'sr-Cyrl-CS' is not supported on this system

Resolution
Serbian (Latin) has been mapped to this language code 'sr-Latn_CS' and Serbian (Cyrillic) to the language code 'sr-Cyrl-CS' in exchange.properties for many years. However, Microsoft has changed these language codes to - respectively - 'sr-Latn_RS' and 'sr-Cyrl-RS', as documented here. This change is reflected in version 11.8.1.

Therefore, the resolution is to replace the previous language code with the new one in exchange.properties.

The resolution is to replace the previous language codes with the new ones in the exchange.properties file. Follow these steps:

1- On the server where WorldServer is installed, find the exchange.properties file and make sure it is placed under WS_CONFIG folder. If you have a copy of exchange.properties file also under WS_CONFIG/ws-legacy, WS_CONFIG/ws or WS_CONFIG/ws-api, make sure you apply the change there as well.

2- In the exchange.properties file, you should find the mappings as:

studioLocaleMapping25=Serbian (Cyrillic), sr-Cyrl-CS
studioLocaleMapping26=Serbian (Latin), sr-Latn-CS

3- Change the mapping to

studioLocaleMapping25=Serbian (Cyrillic), sr-Cyrl-RS
studioLocaleMapping26=Serbian (Latin), sr-Latn-RS

4- Save the change in exchange.properties
5- Restart WorldServer (name: WorldServer Service or IdiomRun) and FTS (WorldServer FTS Services)

After the restart, complete the Autoerror at the Save step. It will be successful.

Another resolution: instead of using Serbian (Latin) or Serbian (Cyrillic) as languages in your WorldServer environment, use Serbian (Latin) (Serbia) or Serbian (Cyrillic) (Serbia). These languages already have the correct language code.
Root Cause
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by