Re: Fwd: Arabic or Hebrew languages (Right to Left Languages) and SKOS, XML,RDF,etc.

Hi Richard,

Adding back in the SKOS list directly! Thanks for your reply- copied
below for the list. Makes sense re attributes/markup, and to use
explicit markup not support code. But I don't know much about the
'dir' attribute - which namespace if any that it is in, etc. From an
RDF/XML perspective, SKOS that uses it would need to use XML Literal
markup, I guess? I'd be really happy if someone from this list put
together a short best practice guide for SKOS at the modelling level,
and SKOS at the syntax (RDF/XML, RDFa, Turtle...) level. Ideally some
SPARQL queries too...

cheers,

Dan

On 26 May 2011 14:59, Richard Ishida <ishida@w3.org> wrote:
> Hi Danbri,
>
> For creating XML applications, see the articles linked from
> http://www.w3.org/International/techniques/authoring-xml#direction
>
> See also the editors working draft of Additional Requirements for Bidi in
> HTML at http://www.w3.org/International/docs/html-bidi-requirements/ for
> additional considerations that may apply to XML applications as well as
> HTML.
>
> The answer to the question "Can we use the xml:lang attribute to determine
> direction?" is no (see the documentation).  You need a separate dir
> attribute.  Also, markup is better than Unicode control characters - which
> means by implication that you should avoid natural language in attribute
> values in case you need to deal with bidi text.
>
> Let me know if that helps.
> RI
>
>
>
>
> On 26/05/2011 12:35, Dan Brickley wrote:
>>
>> Hello Richard,
>>
>> Do you have any quick advice or 'read this' urls for this SKOS thread?
>>
>> cheers,
>>
>> Dan
>>
>>
>> ---------- Forwarded message ----------
>> From: Christophe Dupriez<christophe.dupriez@destin.be>
>> Date: 26 May 2011 12:38
>> Subject: Arabic or Hebrew languages (Right to Left Languages) and
>> SKOS, XML,RDF,etc.
>> To: SKOS<public-esw-thes@w3.org>, Armando
>> Stellato<stellato@info.uniroma2.it>
>>
>>
>> Hi!
>>
>> I would like to know if some best practices has been set up to support
>> RTL (right to left) languages in XML, RDF or SKOS.
>>
>> The problem: when displaying Arabic or Hebrew, the browsers must be
>> told to write from right to left and (ideally) the text is better
>> displayed aligned on the right rather than the left.
>>
>> One may wish that applications not be obliged to make explicit tests
>> like "if language is Arabic or Hebrew then RTL+align:right else then
>> LTR+align:left".
>>
>> What have been done for this? What the community think that should be
>> done?
>>
>> I made a test by hand to prepare addition of Arabic to JITA:
>> http://www.askosi.org/JITA-ar.htm
>>
>> Other languages of the JITA thesaurus, as used to access E-LIS (click
>> on concepts in schemas):
>> http://www.askosi.org/jita
>>
>> For now, my "feeling" is to add Unicode character x202B before Arabic
>> and Hebrew labels and Unicode character x202C at the end (i.e. within
>> the data).
>> Character x202C is Pop Direction Format: return to the direction (LTR
>> or RTL) in use when x202B (switch to RTL) was encountered.
>>
>> But what others do???
>>
>> I will be happy to learn about your thought on this topic!
>>
>> Christophe
>>
>
> --
> Richard Ishida
> Internationalization Activity Lead
> W3C (World Wide Web Consortium)
>
> http://www.w3.org/International/
> http://rishida.net/
>

Received on Thursday, 26 May 2011 14:18:48 UTC