StdLocalizationParam
This structure holds a single message parameter and formatting settings for it. The structure has fields for string, long, double, date time and nested messages. Only one will be used depending on the type of data sent. For date, double and long it is possible to set additional formatting details.
Properties
The double value associated with the parameter. The number of displayed fractional digits is changed via LocalizationParam.precision field. this field will be set when double value is used.
Date and time value associated with the parameter. Use the LocalizationParam.format field to specify date and time display style. this field will be set when date and time value is used.
Format associated with the date and time value in LocalizationParam.dt field. The enumeration value SHORT_DATETIME will be used as default. this may not be set if enumeration value SHORT_DATETIME default format is appropriate
long value associated with the parameter. this field will be set when long value is used.
Nested localizable value associated with the parameter. This is useful construct to convert to human readable localized form enumerated type and boolean values. It can also be used for proper handling of pluralization and gender forms in localization. Recursive NestedLocalizableMessage instances can be used for localizing short lists of items. this field will be set when nested localization message value is used.
Number of fractional digits to include in formatted double value. this will be set when exact precision is required for rendering double numbers.
String value associated with the parameter. this field will be set when string value is used.
Dependency Chain.
To identify where the loop occurs in your dependency chain, check below.
Std_LocalizationParam
Automated code generation tools, may produce unexpected results because of this.
JSON Example
{
"d": 0,
"dt": "string",
"format": "enum",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}