Difference between revisions of "Extensions.I18n.CreateTranslationKey"
Jump to navigation
Jump to search
m (Hb moved page CreateTranslationKey to Extensions.I18n.CreateTranslationKey: #3153) |
|||
| Line 1: | Line 1: | ||
| − | [[Category:i18n]] | + | {{DISPLAYTITLE: '''CreateTranslationKey'''}}[[Category:i18n]] |
== Classification == | == Classification == | ||
| − | {{ClassificationActivity | CreateTranslationKey | Creates a '''TranslationKey''' from a string | [[Term]] | [[ | + | {{ClassificationActivity | CreateTranslationKey | Creates a '''TranslationKey''' from a string | [[Term]] | [[Extensions.I18n|OTX i18n extension]] | [[Translation related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
| Line 11: | Line 11: | ||
The '''CreateTranslationKey''' term creates a '''TranslationKey''' from a string. The string is used as the text ID to create the '''TranslationKey'''. | The '''CreateTranslationKey''' term creates a '''TranslationKey''' from a string. The string is used as the text ID to create the '''TranslationKey'''. | ||
| − | {{TermReturnValue| [[TranslationKey]] | '''TranslationKey''' from the given string.}} | + | {{TermReturnValue| [[Extensions.I18n.TranslationKey|TranslationKey]] | '''TranslationKey''' from the given string.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
| − | {{TableRowPropertie1| TextId | [[String]] | [[Term]] | - | [1] | String to generate the translation Keys.}} | + | {{TableRowPropertie1| TextId | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | String to generate the translation Keys.}} |
|} | |} | ||
| Line 27: | Line 27: | ||
== See also == | == See also == | ||
| − | [[Translate]] <br/> | + | [[Extensions.I18n.Translate|Translate]] <br/> |
| − | [[TranslateToLocale]] <br/> | + | [[Extensions.I18n.TranslateToLocale|TranslateToLocale]] <br/> |
| − | [[CompareUntranslatedString]] | + | [[Extensions.I18n.CompareUntranslatedString|CompareUntranslatedString]] |
Revision as of 09:39, 15 February 2016
Contents
Classification
| Name | CreateTranslationKey |
| Short Description | Creates a TranslationKey from a string |
| Class | Term |
| Extension | OTX i18n extension |
| Group | Translation related terms |
| Exceptions | - |
| Checker Rules | - |
| Standard Compliant | Yes |
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");