W3C home > Mailing lists > Public > www-international@w3.org > April to June 2002

RE: Question: multilingual documents

From: Plech¹míd Martin <Martin.Plechsmid@merlin.cz>
Date: Fri, 7 Jun 2002 16:38:07 +0200
Message-ID: <E50028F23FC6D3118B7D00609761083F01D40F51@merkur.merlin.cz>
To: www-international@w3.org

I've got several sets of documents that differ only in the language, the
structure and content is the same. 
But the documents contain also lots of processing instructions (relations
between elements, processing rules etc.), this is in fact the main content
of the documents, so separating human-language versions would make the whole
thing unmanagable.

Currently, I use something like

  <item>
    <catid>C-2353J</catid>
    <description my:refId="a123" />
  </item>

  <my:texts>
    <my:text id="a123" xml:lang="en">...</my:text>
    <my:text id="a123" xml:lang="fr">...</my:text>
  </my:texts>

	Martin.


> -----Pùvodní zpráva-----
> Od: Thilo Schüller 
> Odesláno: 7. èervna 2002 16:20
> Komu: 'Plech¹míd Martin'
> Pøedmìt: RE: Question: multilingual documents
> 
> 
> Question is: do you absolutely _have_ to work with 
> multilingual documents,
> as the original obviously wasn't designed to be used for 
> several languages?
> 
> If you would be using a one file/one language approach, you 
> would only need
> to change the schema to accept the xml:lang attribute:
> 
>   <item>
>     <catid>C-2353J</catid>
>     <description xml:lang="en-US">This great summer tire
>     [...]
>     </description>
>   </item>
> 
> This would also offer the benefit of easier translatability 
> (change the
> original accordingly, then send that file to translation. Upon return,
> change the xml:lang attribute value accordingly...
> 
> Cheers,
> Thilo
> 
Received on Friday, 7 June 2002 10:38:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:59 GMT