W3C home > Mailing lists > Public > www-international@w3.org > January to March 2012

Re: How to language tag language tags?

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 6 Jan 2012 01:49:01 +0100
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Cc: Kent Karlsson <kent.karlsson14@telia.com>, 'WWW International' <www-international@w3.org>
Message-ID: <20120106014901221110.cf122d6d@xn--mlform-iua.no>
Stephane Bortzmeyer, Thu, 5 Jan 2012 22:27:08 +0100:
> On Thu, Jan 05, 2012 at 07:35:10PM +0100,
>  Leif Halvard Silli wrote 
>  a message of 45 lines which said:
>>> See
>>> http://www.langtag.net/registries/language-subtag-registry.xml.
>> Oh, thanks. But no language tags in that document. :-[
> For the reasons explained by Kent. 1) I'm not sure that "Date:
> 2011-01-05" is english. 2) The LTR is not tagged so there is no easy
> way to know if a description is in english or not.

The 'zxx' tag is a tag like any other. If the root element of that doc 
was tagged as xml:lang='zxx', then I don't see why you couldn't, in 
child elements, find other tags, e.g. xml:lang='en' or xml:lang='sv' 
etc. As for "Date: 2011-01-05", then it depends on how you would would 
like it to be read, perhaps. The code is actually 
<date>2011-12-02</date> and <added>2005-10-16</added>. It is possible 
that 'zxx' would be fine for that, of course.

Leif H Silli
Received on Friday, 6 January 2012 00:49:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 January 2012 00:49:36 GMT