The language codes in the language file are used as keys to dynamically select the appropriate label texts. To be able to use these keys, you must create a before Process script. This script must include the following:
• A field reference or variable that contains a unique language identifier, for example a country code.
• The script function setLanguage.
Example 11 switch(&countryCode){case "USA":setLanguage("EN");break;case "Sverige":setLanguage("SV");break;default:setLanguage("EN");}
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |