- From: Yves Savourel <ysavourel@translate.com>
- Date: Wed, 24 Feb 2010 09:12:57 -0700
- To: <public-i18n-core@w3.org>
- CC: <public-i18n-its-ig@w3.org>
- Message-ID: <002401cab56c$3aa0c2b0$afe24810$@com>
Hi Marcos, > As we are fully committed to having a suitable i18n solution > for P&C, the Web Apps working group would like to co-ordinate > with i18n to address this issue at the markup level. We want > to discuss the creation of a new specification that would add the > span/dir functionality in the widget namespace. We are only > proposing this because various members (Opera included) have > expressed that they would be more willing to implement the ITS > functionality if it was defined in the widget namespace. This should be doable. The ist:span element is just one possible way to provide the format with a span-like element. The important part is that a span-like element exists so different attributes can be applied to the selected span of text. (See the i18n best practices here: http://www.w3.org/TR/2006/WD-itsreq-20060518/#span) For its:dir, it is also doable: Most ITS data categories, including Directionality, can be mapped to an existing markup as long as that markup provides the same features. So, an ITS tool processing a Widget file can use something like the following rules to map the Widget's dir attribute: <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:w="http://www.w3.org/ns/widgets" version="1.0"> <its:dirRule dir="rtl" selector="//w:*[@dir='rtl']"/> <its:dirRule dir="ltr" selector="//w:*[@dir='ltr']"/> <its:dirRule dir="lro" selector="//w:*[@dir='lro']"/> <its:dirRule dir="rlo" selector="//w:*[@dir='rlo']"/> </its:rules> Cheers, -yves
Received on Wednesday, 24 February 2010 16:13:27 UTC