We are encountering issues with a third-party integration due to languages where the ISO code in WorldServer differs from the standard ISO codes. For example, Bosnian (Latin) is defined in WorldServer as bsb-BA. In Trados Studio, this is mapped to the correct ISO code bs-Latn-BA, as Studio does not accept bsb-BA. To address the discrepancy between WorldServer and Trados Studio, we add a mapping to the exchange.properties file for any language where the language code differs. This article explains a possible scenario related to Serbian, but the procedure is the same for any other language with a different language code in WorldServer than in Trados Studio: WorldServer - after upgrade to 11.8.1, error at Save "The language code 'sr-Latn_CS' is not supported on this system"
Is there a way to update the ISO code definitions in WorldServer to use bs-Latn-BA instead of bsb-BA? |
Important: While we (RWS Support) have tested the solution below and found no issues, it has not yet been fully tested and approved by the Product Development Team. Keep in mind that any changes to the database are made at your own risk. Any side effects of this change are not supported. Please always ensure you have a full backup of your database before making any changes. After making the changes, thoroughly test your system to ensure it functions correctly with the new codes. Make sure to involve your DBA in this process to avoid potential issues. A possible solution is to change the ISO language code in the WorldServer Database. Follow these steps to change the ISO language code in the Database for Bosnian (Latin):1- Connect to your WorldServer Database and run: Select * from LANGUAGES where NAME like 'Bosnian (Latin)%' 2- The result will be: 3- Update the PRIMARYLANGCODE and the SUBLANGCODE as follows: update LANGUAGES SET PRIMARYLANGCODE='bs',SUBLANGCODE='latn-BA' WHERE LANGUAGEID=5146 4- As a result, the ISO language code is changed. This will also be visible on the Locales page in the WorldServer User Interface: |