W3C home > Mailing lists > Public > public-i18n-core@w3.org > October to December 2012

[Bug 17859] locale="" attribute

From: <bugzilla@jessica.w3.org>
Date: Mon, 26 Nov 2012 08:26:49 +0000
To: public-i18n-core@w3.org
Message-ID: <bug-17859-3493-LepRYcdT8D@http.www.w3.org/Bugs/Public/>

--- Comment #7 from Martin Dürst <duerst@it.aoyama.ac.jp> ---
(In reply to comment #4)
> Overloading "lang" to mean by "language" and "locale" seems dodgy to me. For
> example, "en" is a valid language, but "en-GB" and "en-US" have very
> different locales. A document might be all in the ISO-8601 locale, while
> using multiple different languages (and indeed, ISO-8601 doesn't even have a
> language, as far as I can tell, so I'm not sure how one would express that
> locale as a lang="" value).

Using the same attribute for language and locale is indeed confusing at first.
But it actually makes a lot of sense. For content written in a certain (local
variant of a) language, it makes very much sense to also use the number
formatting conventions of that language/variant, the date formatting
conventions, the sorting conventions, the quoting conventions, the monetary
amount formatting conventions, the calendar (display) conventions, and so on,
of that language/variant. Essentially, these conventions are part of the
writing conventions of the language. Mark Davis created a very nice example of
this. I guess that was at an Unicode Conference a few years ago. I'm not sure
it's online, but I'm sure he can make it available.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 26 November 2012 08:26:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:23:08 UTC