Mapping languages
MultiTrans supports ISO 639-3 (example ENG, FRA) and RFC 3066 (example en-CA and de-CH) language codes. If the system connecting to the MultiTrans TMS uses language codes other than these, a map file must be configured and placed on the server to convert the language codes on demand.
Procedure
- On the MultiTrans TMS application server, open the file <TMS installation folder>\runtime\languageMapping\languageMapping.properties in a text editor.
- Map the appropriate language pairs as ExternalSystemCode=MultiTransCode. The MultiTransCode corresponds to the culture code found in .
- Save your changes and restart the MultiTrans Flow 64 service.
Example
en=ENG
de=de-CH
Using this example, if MultiTrans received a request, every instance of en and de in this request would be replaced with ENG and de-CH. When MultiTrans returns language codes in the response, every instance of ENG and de-CH in the response is replaced by en and de.
If there are duplicate language codes in the map file, the first mapping found is used. Example:
es-NI=es-LA
es-CO=es-LA
If a query is received with es-CO, it is converted to es-LA in MultiTrans. When a response is returned by MultiTrans, es-LA is converted to es-NI.