- From: Marcos Caceres <marcosc@opera.com>
- Date: Wed, 17 Mar 2010 17:24:39 +0100
- To: Richard Ishida <ishida@w3.org>
- Cc: public-webapps <public-webapps@w3.org>, public-i18n-core@w3.org
Hi Richard, On Tue, Mar 16, 2010 at 8:20 PM, Richard Ishida <ishida@w3.org> wrote: > Argh. Sorry Marcos. The <span dir="rtl" should of course read <span dir="ltr" > I've made the following modifications to the example (to make it compatible with our "element-based localization" model): [[ ==Example of Usage== This section is informative. This example shows span elements being used to indicate directionality of text as well as language information. Note that the name element's xml:lang attribute is set to an empty string to allow it to be used as unlocalized content in the process of element-based localization: <widget xmlns="http://www.w3.org/ns/widgets" xml:lang="he" dir="rtl"> <name xml:lang="" dir="ltr"><span xml:lang="en">GPS Weather!</span></name> <description> יישומון ה-<span dir="ltr" xml:lang="en">GPS Weather!</span> מאפשר לך לבדוק את מזג האוויר בכל נקודת GPS ברחבי העולם. </description> <description xml:lang="" dir="ltr"> <span xml:lang="en">The GPS Weather! widget lets you check the weather at any point around the world GPS.</span> </description> </widget> ]] -- Marcos Caceres http://datadriven.com.au
Received on Wednesday, 17 March 2010 16:25:35 UTC