Salesforce

In WorldServer, some of the locales/cultures supported inTrados Studio and WorldServer are not synchronized, leading to an error at Save or Export

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentWorldServer
Symptoms/Context

In WorldServer, some of the locales/cultures supported in Trados Studio and WorldServer are not synchronized.

This affects round-tripping FTS content between Trados Studio and WorldServer using one or more of the cultures listed later in this publication. For instance, you might encounter the errors:

Culture name 'mww-CN' is not supported. Parameter name: name
Culture is not supported. Parameter name: name es-419 is an invalid culture identifier.​​​​​​


at the Save or Save target workflow steps or when exporting the project or task to a WSXZ Studio package

Note: the culture name will vary

Resolution
As a first step, if you haven't done so already, make sure to install SDLCustomCultures.msi for your version of WorldServer.
You can download the WorldServer distribution package from the RWS FTP site using your FTP customer account. If you have any problems, please raise a WorldServer support case.

These are the locales supported after installing the Custom Cultures:
Culture ID
Culture Name
ca-ES-valenciaValencian
chrCherokee
chr-CherCherokee
chr-Cher-USCherokee
en-HKEnglish (Hong Kong)
es-419Spanish Latin America
ffFulah
ff-LatnFulah
ff-Latn-SNFulah
fr-CDFrench (Congo)
fr-CIFrench (Ivory Coast)
fr-CMFrench (Cameroon)
fr-HTFrench (Haiti)
fr-MAFrench (Morocco)
fr-MLFrench (Mali)
fr-REFrench (Reunion)
fr-SNFrench (Senegal)
gnGuarani
gn-PYGuarani (Paraguay)
hawHawai
haw-USHawaiian (United States)
jvJavanese
jv-LatnJavanese (Latin)
jv-Latn-IDJavanese (Indonesia)
ku-ArabCentral Kurdish
ku-Arab-IQCentral Kurdish (Iraq)
mgMalagasy
mg-MGMalagasy (Madagascar)
mn-Mong-MNMongolian (Traditional Mongolian, Mongolia)
myBurmese
my-MMBurmese (Myanmar)
ne-INNepali (India)
nqoNqo
nqo-GNNqo (Guinea)
omOromo
om-ETOromo (Ethiopia)
pa-Arab 
pa-Arab-PKPunjabi (Pakistan)
pt-AOPortuguese (Angola)
ro-MDRomanian (Moldova)
sdSindhi
sd-ArabSindhi
sd-Arab-PKSindhi (Pakistan)
snShona
sn-LatnShona (Latin)
sn-Latn-ZWShona (Latin, Zimbabwe)
soSomali
so-SOSomali (Somalia)
stSesotho
st-ZASesotho (South Africa)
ta-LKTamil (Sri Lanka)
tiTigrinya
ti-ERTigrinya (Eritrea)
ti-ETTigrinya (Ethiopia)
tl-x-SDLTagalog
tn-BWSetswana (Botswana)
tsTsonga
ts-ZATsonga (South Africa)
tzm-TfngCentral Atlas Tamazight
tzm-Tfng-MACentral Atlas Tamazight (Tifinaght, Morocco)
ur-INUrdu (India)
x-es-XLSpanish Latin America (Deprecated)
zghStandard Moroccan Tamazight
zgh-TfngStandard Moroccan Tamazight (Tifinagh)
zgh-Tfng-MAStandard Moroccan Tamazight (Tifinagh, Morocco)
es-x-int-SDLSpanish(International)
es-x-mo-SDLSpanish(Modern)
haw-x-sm-SDLSamoan
haw-x-na-SDLNauru
sw-x-ny-SDLChewa
zh-x-hmn-SDLHmong
quz-x-ay-SDLAymara
hi-x-bh-SDLBihari
en-x-bi-SDLBislama
en-x-fj-SDLFijian
ml-x-su-SDLSundanese(Roman)
iu-x-ik-SDLInupiaq

After the installation, you might find that some of the languages are still not available in WorldServer. The reason for this is that when using the FTS Server in WorldServer, it is important to note that the default operating system cultures, default .NET cultures, and user-defined cultures determine which cultures are available. The version of Windows on which the FTS Server is installed also plays a role in which .NET culture codes are available. Not all versions of Windows have all .NET cultures available. For example, Windows Server does not support a number of cultures. The same is true for certain locales in WorldServer that have never been supported by .NET.  You can map these WorldServer locales to .NET cultures in the exchange.properties file.

If a language is not available in WorldServer, you can map an existing locale to map it to a language code that is supported by the Studio File Types in exchange.properties on the server where WorldServer is installed. For example, map as below (make sure the studioLocaleMapping ID property is unique):

studioLocaleMappingHM = Hmong, de-DE
studioLocaleMappingRU-MD = Russian (Moldova), ru-RU
studioLocaleMappingTG = Tigrigna (Eritrea), ti-ER
studioLocaleMappingTG2 = Tigrigna (Ethiopic), ti-ET
studioLocaleMappingNO = Norwegian, nb-NO
studioLocaleMappingMK = Macedonian, mk-MK
studioLocaleMappingBurmese = Burmese, my-MM
studioLocaleMappingCentralKurdish_Irak = Afar, ku-Arab-IQ

After adding the property to exchange.properties file, save your changes and restart WorldServer and FTS. Test the change by creating a test project with that language. Once the project is created, open the Task in Browser Workbench and do a Save to confirm that there is no error, and export the Task to a WSXZ package. Open the WSXZ package in SDL Trados Studio and confirm that it opens in the language corresponding to the language code used in the mapping.

Note: The language code in the WorldServer UI does not change. 

If you are not sure about the language code supported by Trados Studio: 

1- Open any source file with the affected target language as a standalone file in Trados Studio.
2- Do a Save: this action will create a bilingual Studio file in SDLXLIFF format 
3- Open the SDLXLIFF file in Notepad and next to target-language= you will find the language code supported by Trados Studio. Use that language code for mapping.

However, keep the following points in mind:

  • When the translation of a project with a source or target language that has been mapped in exchange.properties updates your TM, the language displayed in the TM will still be the one with the original name, even if you have changed/edited the name of that language. This is because the TM refers to the locale name and not the Language name, which can be edited to anything. So assuming you have added a mapping to language "Afar" like this
studioLocaleMappingValencia = Afar, ca-ES-valencia

and then you renamed the language name in the UI from "Afar" to "Valencian". In the Translation Memory that has been updated after the mapping, the language/locale will still be "Afar".
  • The Language Code in the list of your locales will also still remain the original one, in the example above with "Afar", it will be "aar-ET". The language code from the mapping in exchange.properties will not be displayed here.
  • Still following the same example, the WSXZ package that you will export from the project will contain the Language code "aar-ET" s part of the name, although the language code in the SDLXLIFF file inside the package will be the one that you have mapped "ca-ES-valencia". For example the name could be similar to "tasks_Testproject_1305_aar_ET_xliff.wsxz". This might be confusing. Just ignore this naming convention in the WSXZ project name and focus on the "correct" language code that will display after opening the package in Trados Studio.
Root Cause
The new set of cultures available in Trados Studio needs to be integrated into your version of WorldServer. Moreover, you need to map an existing locale to one of the locales.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by