W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > August 2012

Re: [ACTION-107] Locale Filter

From: Shaun McCance <shaunm@gnome.org>
Date: Fri, 03 Aug 2012 11:59:28 -0400
To: Felix Sasaki <fsasaki@w3.org>
Cc: public-multilingualweb-lt@w3.org
Message-ID: <1344009568.19228.76.camel@recto>
On Fri, 2012-08-03 at 11:56 +0200, Felix Sasaki wrote:
> Hi Shaun, all,
> one more aspect about the locale filter data category. Currently we
> specify basic filtering
> http://tools.ietf.org/html/rfc4647#section-3.3.1
> as the method to match locales in the localeFilter rule and in the
> content. Would it make sense to use extended filtering
> http://tools.ietf.org/html/rfc4647#section-3.3.2
> and extended language ranges 
> http://tools.ietf.org/html/rfc4647#section-2.2
> instead?
> This allows you to specify a language range like de-*-DE , which
> matches e.g. de-latn-DE.
> I have an action item from the i18n core working group to check this.


  I chose basic filtering because I think the algorithm for
  extended filtering is tricky (but not impossible) to do in
  XSLT 1.0, at least without EXSLT. Basic filtering is easy.
  If anybody feels strongly that we should use extended
  filtering, speak up. I'm not really opposed.

I can implement the extended filtering algorithm easily in
Python for itstool. I was just trying to keep things easy
for others. I'd like input from other implementers.

Received on Friday, 3 August 2012 15:59:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:31:50 UTC