Difference between revisions of "Extensions.I18n.TranslationKey"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''TranslationKey'''}}[[Category:DataType]][[Category:i18n]] | {{DISPLAYTITLE:Data Type '''TranslationKey'''}}[[Category:DataType]][[Category:i18n]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationDataType | TranslationKey | A reference to a string that is internationalized | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.SimpleDataType.SimpleType|SimpleType]] |Literal= | + | {{ClassificationDataType | TranslationKey | A reference to a string that is internationalized | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.SimpleDataType.SimpleType|SimpleType]] |Literal=Yes|DefaultValue= The empty string}} |
== Description == | == Description == |
Revision as of 04:53, 25 September 2018
Classification
Name | TranslationKey |
Short Description | A reference to a string that is internationalized |
Class | Complex Data Type |
Base Data Type | SimpleType |
Default Value | The empty string |
Provide a Literal | Yes |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
A TranslationKey is a reference to a unique string that can be internationalized. The actual retrieval process is defined by the runtime system.
Core Conversion
The following table shows the rules for conversion to another data type:
Conversion | Result | Sample |
ToBoolean | Undefined (should not be used) | |
ToInteger | Undefined (should not be used) | |
ToFloat | Undefined (should not be used) | |
ToString | Returns the value of the TranslationKey | translationKeyVariable = @TranslationKey:"1"; String s = ToString(translationKeyVariable); // Returns "1" |
ToByteField | Undefined (should not be used) |