W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [widgets] Span example

From: Marcos Caceres <marcosc@opera.com>
Date: Wed, 17 Mar 2010 17:24:39 +0100
Message-ID: <b21a10671003170924n1514fe3fy2966507245dcddef@mail.gmail.com>
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:

 xml:lang="he" dir="rtl">
 <name xml:lang="" dir="ltr"><span xml:lang="en">GPS Weather!</span></name>
  יישומון ה-<span dir="ltr" xml:lang="en">GPS Weather!</span> מאפשר לך
לבדוק את מזג האוויר בכל נקודת GPS ברחבי העולם.

<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>


Marcos Caceres
Received on Wednesday, 17 March 2010 16:25:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:05 UTC