Uploaded image for project: 'OASIS XML Localisation Interchange File Format (XLIFF) TC'
  1. OASIS XML Localisation Interchange File Format (XLIFF) TC
  2. XLIFF-72

XLIFF 2.1 spec: the dir values are not sufficient for proper BiDi support

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      Reject feature request / provide editorial clarification

      Show
      Reject feature request / provide editorial clarification
    • Resolution:
      Hide

      Rejected feature request / provided editorial clarification

      Show
      Rejected feature request / provided editorial clarification

      Description

      I am looking at this:
      http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html#dir

      The possible values are lrt, rtl, and auto
      (with auto "determined heuristically, based on the first strong directional
      character in scope, see UAX #9").

      That is the same as the HTML dir attribute
      https://www.w3.org/TR/2014/REC-html5-20141028/dom.html#the-dir-attribute

      But that is not enough, because the direction based on the first char
      results in bad rendering at times.
      So the HTML standard added <bdi> and <bdo>

      And also CSS needed to add even more control, with unicode-bidi:
      https://www.w3.org/TR/CSS2/visuren.html#direction

      The values in the CSS2 standard seem to be normal, embed, bidi-override,
      inherit

      But more are coming: normal, embed, isolate, bidi-override,
      isolate-override, plaintext
      (https://www.w3.org/TR/css-writing-modes-3/#unicode-bidi)

      Mozilla and Chrome (and probably others will follow) already support these
      values:
      https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi

      Chrome also supports "initial" (I don't check about Firefox)

      So the proposed values for dir seem insufficient.
      Kind of a pity to release something that is already outdated, without
      learning from what others did...

        Attachments

          Activity

            People

            • Assignee:
              DavidFilip David Filip
              Reporter:
              DavidFilip David Filip
            • Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: