Extensions.I18n.Translate
Revision as of 10:41, 4 August 2014 by Nb (talk | contribs) (Created page with "Category:i18n == Classification == {{ClassificationActivity | Translate | Returns a localized string from a '''TranslationKey''' | Term | OTX i18n extension |...")
Contents
Classification
Name | Translate |
Short Description | Returns a localized string from a TranslationKey |
Class | Term |
Extension | OTX i18n extension |
Group | Translation related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
String Translate(TrasnlationKey translationKey);
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
String result = Translate(TranslationKey);
See also
CreateTranslationKey
TranslateToLocale
CompareUntranslatedString