W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > February 2013

RE: Locale Filter - exclusion

From: Yves Savourel <ysavourel@enlaso.com>
Date: Thu, 28 Feb 2013 11:52:50 -0700
To: "'Felix Sasaki'" <fsasaki@w3.org>
CC: <public-multilingualweb-lt@w3.org>
Message-ID: <006301ce15e4$cf671850$6e3548f0$@com>
Hi Felix,

I see that I didn't disagree with the change and didn't come up with examples for exclude in those emails.
My bad: I don't understand how I missed that.

Now it seems most use cases I can think of would need an exclusion option.

<p its-locale-filter-list="*-CA">Legal notice for Canada</p>
<p its-locale-filter-list="???">Legal notice for all other countries</p>

Sure, one can 'fix' the problem by listing all the other locales for the second paragraph.
But in practice that would be difficult and un-reliable to do.

If we want to address this (do we?), one simple solution I can think of is to allow, for example, a '!' at the front of the value and say that it inverts/negates the selection. The value would not be an Extended Range anymore, but something more still very close to that.
The implementation changes would probably be relatively simple (no additional attributes, just a extra flag).


-----Original Message-----
From: Felix Sasaki [mailto:fsasaki@w3.org] 
Sent: Thursday, February 28, 2013 8:21 AM
To: Yves Savourel
Cc: public-multilingualweb-lt@w3.org
Subject: Re: Locale Filter - exclusion

HI Yves, all,

Am 28.02.13 15:29, schrieb Yves Savourel:
> Hi all,
> I'm trying to use Locale Filter in an example: I wanted to exclude all French locales.

we had discussed that this use case is not needed - see


but obviously the decision was not clear enough. Should we revise it? 
Looking at
this would influence 8 implementers it seems. But if this is important, that's of course no argument.


> I'm drawing a complete blank on how to do this...
> We used to have exclude/include keywords but now we just have the locale values and (hopefully I'm missing something) but I don't see anything to invert a locale in the extended filtering mechanism.
> Any clue?
> Thanks,
> -yves
Received on Thursday, 28 February 2013 19:04:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:04 UTC