Difference between revisions of "Extensions.I18n.TranslationKey"

From emotive
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=No}}
+
{{ClassificationDataType | TranslationKey | A reference to a string that is internationalized | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.SimpleDataType.SimpleType|SimpleType]] |Literal=No|DefaultValue= The empty string}}
  
 
== Description ==
 
== Description ==

Revision as of 04:20, 24 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 No
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)