Changes between Version 3 and Version 4 of MultilingualMetadata
- Timestamp:
- 12/04/08 03:05:34 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultilingualMetadata
v3 v4 61 61 }}} 62 62 63 64 63 65 SchemaLoader should be able to register complexType which are extension based on a PropertyType (and not only a Type). For example : 64 66 {{{ … … 73 75 }}} 74 76 77 75 78 For title which is a gco:CharacterString_PropertyType, xsi:type could be : 76 79 * gco:CharacterString_PropertyType … … 78 81 Then if an xsi:type="gmd:PT_FreeText_PropertyType" the element is edited in multilingual mode. 79 82 80 81 Via schema_suggestion, the editor will define if one element should be « suggested » as multilingual or not and which languages to suggest. 82 {{{ 83 <field name="gmd:title"> 84 <suggest name="xsi:type" value="gmd:PT_FreeText_PropertyType"> 85 <lang value= « eng »/> 86 <lang value= « fra »/> 87 <lang value= « deu »/> 88 <lang value= « ita »/> 89 </suggest> 90 </field> 91 92 }}} 93 94 95 Then the editor will suggest multilingual editing interface. 83 In the editor any gco:CharacterString could be multilingual. The gco:CharacterString is in default language, the other PT_FreeText elements has to use a locale declared in the metadata document. 96 84 97 85 ==== GUI ==== … … 99 87 A list of all available languages is proposed to the user next to all gco:CharacterString elements. 100 88 101 Label (?)* : _input_ ________________ [Language selection list]89 Label (?)* : _input_field_____ [Language selection list] 102 90 91 The editor can switch to another language using the selection list and could add a new translation. 103 92 104 93