Difference between revisions of "L10n"
From AMTech WikiDocs
Line 1: | Line 1: | ||
The semantic defined supports translation. When a type is defined, each supported property can contain a translation to the supported languages (spanish and french). This translation will be used according to the language preferences of the user. | The semantic defined supports translation. When a type is defined, each supported property can contain a translation to the supported languages (spanish and french). This translation will be used according to the language preferences of the user. | ||
* Sample localization collection taken from a supported property sendFrequency, of a gpsDevice type. It only containes translation to spanish | * Sample localization collection taken from a supported property sendFrequency, of a gpsDevice type. It only containes translation to spanish | ||
+ | <syntaxhighlight lang="jsonld"> | ||
{ | { | ||
"@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization",, | "@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization",, | ||
Line 29: | Line 30: | ||
] | ] | ||
} | } | ||
+ | </syntaxhighlight> |
Revision as of 10:03, 22 April 2016
The semantic defined supports translation. When a type is defined, each supported property can contain a translation to the supported languages (spanish and french). This translation will be used according to the language preferences of the user.
- Sample localization collection taken from a supported property sendFrequency, of a gpsDevice type. It only containes translation to spanish
{
"@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization",,
"@type":"http://www.w3.org/ns/hydra/core#Collection",
"memberstype":"/amtech/linkeddata/types/composite/localizedterm",
"description":"",
"guesttenants":[
"_ALL"
],
"_name":"localization",
"members":[
{
"validationMsg":"",
"@type":"/amtech/linkeddata/types/composite/localizedterm",
"currencysymbol":"",
"locale":"es",
"_name":"es",
"caption":"frecuencia de envío",
"currencydigits":"",
"datetimeformat":"",
"description":"Frecuencia de envío de observaciones del gps",
"guesttenants":[
],
"@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization/es",
"currencycode":""
}
]
}