Classification
OTL Syntax
TranslationKeyTerm I18n.CreateTranslationKey(StringTerm textId);
Description
The CreateTranslationKey term creates a TranslationKey out of a given string. The string is used as the text ID that will be used 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] |
The string term value provided that will be used to generate a translation key.
|
OTL Examples
/// Local Declarations
I18n.TranslationKey TranslationKey1;
/// Flow
TranslationKey1 = I18n.CreateTranslationKey("TEXT_1");
See also
Translate
TranslateToLocale
CompareUntranslatedString