Classification
OTL Syntax
StringTerm = I18n.Translate(TrasnlationKey, Arguments);
Description
The Translate term accepts a TranslationKey argument and returns a localized string in the current user language.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
String |
Localized string in the current user language.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
TrasnlationKey |
TrasnlationKey |
Term |
- |
[1] |
A unique key that the system uses to locate a translation into internal database.
|
Examples
I18n.TranslationKey TranslationKey1;
String result;
TranslationKey1 = I18n.CreateTranslationKey("TEXT_1");
result = Translate(TranslationKey, null);
See also
CreateTranslationKey
TranslateToLocale
CompareUntranslatedString