Script functions reference > Script functions in alphabetical order > S > StLanguageLookup

StLanguageLookup
Syntax
StLanguageLookup(language, key);
language
key
Description
Retrieves a translation from the available .sls files, using specified language and key. Useful if you e.g. want to make a decision based on how a substitution is translated.
Example
$value = stLanguageLookup(stGetProcessingProperty("language"), &data_field);
if($value="")
{
   $value=&data_field;
}
Note:
OpenText StreamServe 5.6 Updated: 2013-03-01