Changeset 12676
- Timestamp:
- 2006-09-05T14:48:39+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/metadata/adding_translations.txt
r6674 r12676 7 7 Example: To add a new language to the dublin.mds, open the file in a UTF8 editor. 8 8 9 2. In MetadataSet DOM element edit, or add if necessary, an argument named "language_dependent". As its value add a list of comma separated attribute names. These are the names of the attributes which are taken to be language dependent (see 4). 9 2. In MetadataSet DOM element edit, or add if necessary, an argument named "language_dependent". As its value add a list of comma separated attribute names. These are the names of the attributes which are taken to be language dependent (see 4). This is optional. 10 10 11 11 Example: While editing the dublin.mds scroll down to the start of the MetadataSet xml block, which looks like: … … 27 27 lastchanged = "Tue Jun 04 10:35:30 2002 - jmt12 on blackbird" 28 28 namespace = "dc" 29 language_dependent = " identifier, definition, comment"29 language_dependent = "label, definition, comment" 30 30 > 31 31 32 where identifier, definition and command are the attributes that we wish to be language specific.32 where label, definition and command are the attributes that we wish to be language specific. 33 33 34 34 3. Near the top of the document add a language specific set description block of the form … … 55 55 </Language> 56 56 57 Replace the ** with the relevant detail. Once again code is the two letter language code according to ISO 3166. Note that the names specified in the name argument of an Attribute must also be listed in the language_dependent argument of the MetadataSet (see 1) 57 Replace the ** with the relevant detail. Once again code is the two letter language code according to ISO 3166. Note that the names specified in the name argument of an Attribute must also be listed in the language_dependent argument of the MetadataSet (see 1) (OPTIONAL) 58 58 59 59 Example: Thus to add a French translation for the Element "Title", scroll down to the Element xml block defining Title. This should start: … … 71 71 <!-- French --> 72 72 <Language code="fr"> 73 <Attribute name=" identifier">Titre</Attribute>73 <Attribute name="label">Titre</Attribute> 74 74 <Attribute name="definition">Le nom donn\303\251 \303\240 la ressource.</Attribute> 75 75 <Attribute name="comment">Typiquement, un titre sera le nom par lequel la ressource est officiellement connue.</Attribute>
Note:
See TracChangeset
for help on using the changeset viewer.