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

RE: [ACTION 107] Locale Filter

From: Yves Savourel <ysavourel@enlaso.com>
Date: Wed, 1 Aug 2012 06:22:54 +0200
To: "'Felix Sasaki'" <fsasaki@w3.org>, "'Shaun McCance'" <shaunm@gnome.org>, <public-multilingualweb-lt@w3.org>
Message-ID: <assp.05604ceffb.assp.056007b278.001701cd6f9d$5342fca0$f9c8f5e0$@com>
Hi Felix, Shaun,

I had implemented the version with 'all/none' and I've now changed it to the one without 'none/all': From the implementation viewpoint there is no measurable difference in complexity.

>From a user viewpoint now we always have two attributes, so it is a bit more verbose to express all/none, but I suppose it is a bit more clean too.

One detail:

The text says 'The list of language ranges is a comma-separated list of basic language ranges, or the wildcard "*"'

But BCP47 defines the 'basic language range' in a way that includes "*": 'A "basic language range" has the same syntax as an [RFC3066] language tag or is the single character "*".'

So a list of basic language ranges could be localeFilterList="fr,*,de".

If we want to exclude "*" from multi-values lists, we should specify something like:

'The list of language ranges is a comma-separated list of one or more language tags as defined in RFC3066 or a lone wildcard "*"' (or something of that effect).

Received on Wednesday, 1 August 2012 04:23:30 UTC

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