Classification
OTL Syntax
TranslationKey = I18n.CreateTranslationKey(StringTerm);
Description
The CreateTranslationKey term creates a TranslationKey from a string. The string is used as the text ID to create the TranslationKey.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
| Data Type |
Description
|
| TranslationKey |
TranslationKey from the given string.
|
Properties
| Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
| TextId |
String |
Term |
- |
[1] |
String to generate the translation Keys.
|
OTL Examples
I18n.TranslationKey TranslationKey1;
TranslationKey1 = I18n.CreateTranslationKey("TEXT_1");
See also
Translate
TranslateToLocale
CompareUntranslatedString