Difference between revisions of "L10n"

From AMTech WikiDocs
Jump to: navigation, search
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
 
* Sample localization collection taken from a supported property sendFrequency, of a gpsDevice type
{
+
    {
         "memberstype":"/amtech/linkeddata/types/composite/localizedterm",
+
         "@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization",,
        "creationDate":"2016-03-03T22:48:02.624Z",
+
        "_tenant":"amtechdemocreator",
+
        "_lastmodified":1457045282738,
+
 
         "@type":"http://www.w3.org/ns/hydra/core#Collection",
 
         "@type":"http://www.w3.org/ns/hydra/core#Collection",
 +
        "memberstype":"/amtech/linkeddata/types/composite/localizedterm",
 
         "description":"",
 
         "description":"",
 
         "guesttenants":[
 
         "guesttenants":[
 
             "_ALL"
 
             "_ALL"
 
         ],
 
         ],
        "_resourcestatus":"valid",
 
 
         "_name":"localization",
 
         "_name":"localization",
        "@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization",
 
        "_creationdatemillis":1457045282624,
 
 
         "members":[
 
         "members":[
 
             {
 
             {
                "_lastmodified":1458650796405,
 
 
                 "validationMsg":"",
 
                 "validationMsg":"",
                "_tenant":"amtechdemocreator",
 
 
                 "@type":"/amtech/linkeddata/types/composite/localizedterm",
 
                 "@type":"/amtech/linkeddata/types/composite/localizedterm",
 
                 "currencysymbol":"",
 
                 "currencysymbol":"",
 
                 "locale":"es",
 
                 "locale":"es",
                "_resourcestatus":"valid",
 
 
                 "_name":"es",
 
                 "_name":"es",
 
                 "caption":"frecuencia de envío",
 
                 "caption":"frecuencia de envío",
 
                 "currencydigits":"",
 
                 "currencydigits":"",
 
                 "datetimeformat":"",
 
                 "datetimeformat":"",
                "creationDate":"2016-03-22T12:45:46.179Z",
 
 
                 "description":"Frecuencia de envío de observaciones del gps",
 
                 "description":"Frecuencia de envío de observaciones del gps",
 
                 "guesttenants":[
 
                 "guesttenants":[
Line 34: Line 25:
 
                 ],
 
                 ],
 
                 "@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization/es",
 
                 "@id":"/amtech/linkeddata/types/composite/entity/gpsDevice/sendFrequency/localization/es",
                "_creationdatemillis":1458650746179,
 
                "_user":"amtechdemocreator@amtech.mx",
 
 
                 "currencycode":""
 
                 "currencycode":""
 
             }
 
             }
 
         ]
 
         ]
 
     }
 
     }

Revision as of 08:52, 22 March 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
   {
       "@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":""
           }
       ]
   }