ICEfaces
  1. ICEfaces
  2. ICE-3178

Right to Left support layout for RTL languages

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      For all OS.

      Description


      The ICEfaces Component Suite needs to support right-to-left (RTL) layout where
      appropriate. For example, the Tree control must place the folders on the right
      side of the nodes instead of the left for RTL languages.Exapandable Table also must support RTL layout.MenuItem must support opening from right to left,when they are nested.

        Issue Links

          Activity

          Hide
          Abed Farahmand added a comment -

          i think it is highly prior to consider this issue as all middle eastern, some africans and most of east asians will be affected

          Show
          Abed Farahmand added a comment - i think it is highly prior to consider this issue as all middle eastern, some africans and most of east asians will be affected
          Hide
          Patrick Corless added a comment -

          The ability to change rtl and ltr text layouts can be controlled by css in most modern browsers. You should be able to over ride a few key HTML element to make our components work more nicely with ltr.

          for example:

          p.ltr

          { direction: ltr; }
          Show
          Patrick Corless added a comment - The ability to change rtl and ltr text layouts can be controlled by css in most modern browsers. You should be able to over ride a few key HTML element to make our components work more nicely with ltr. for example: p.ltr { direction: ltr; }
          Hide
          Khosro Asgharifard added a comment -

          Hello Patrik,
          My problem is not the rendering the text direction,but the whole rendering of the components that do not support RTL
          layout.
          I contacted to Wilbur Turner and he said that ,ICEfaces does not support this feature.
          And suggest me create a jira.

          Thanks.
          Khosro

          Show
          Khosro Asgharifard added a comment - Hello Patrik, My problem is not the rendering the text direction,but the whole rendering of the components that do not support RTL layout. I contacted to Wilbur Turner and he said that ,ICEfaces does not support this feature. And suggest me create a jira. Thanks. Khosro
          Hide
          Sadegh Y added a comment -

          it is high prior because in middle east countries developers need RTL

          Show
          Sadegh Y added a comment - it is high prior because in middle east countries developers need RTL
          Hide
          Marcel Groeneweg added a comment -

          Setting direction to rtl does not switch the point of reference for absolute positioning, so left = 0 remains the left side of the browser screen. For rtl, left = 0 should be on the right-hand side of the browser screen.

          Show
          Marcel Groeneweg added a comment - Setting direction to rtl does not switch the point of reference for absolute positioning, so left = 0 remains the left side of the browser screen. For rtl, left = 0 should be on the right-hand side of the browser screen.
          Hide
          Yahya Al-salqan added a comment -

          I believe this is a very important issue. Can one sheds soem light as of when to expect RTL support?

          Show
          Yahya Al-salqan added a comment - I believe this is a very important issue. Can one sheds soem light as of when to expect RTL support?
          Hide
          Ed Hillmann added a comment -

          I don't believe any changes to the ICEfaces components are necessary to support RTL languages. To change the page flow of the HTML DOM (make the elements flow from right to left), you would define the dir attribute in the html tag. So, the xhtml would look like

          <html ... dir="rtl">

          This does what you're looking for. I've just done this for my ICEfaces application, and all of the page elements flow rtl. I have had to override some CSS styles which assumed left and right (ie, padding-left, etc), but it is easy to add a second style looking for the dir attribute of the html element.

          This document was valuable in understanding the best approaches for supporting RTL languages.

          http://www.w3.org/TR/i18n-html-tech-bidi/

          But, to answer this issue's question, I don't think changes to the ICEfaces components are required.

          Show
          Ed Hillmann added a comment - I don't believe any changes to the ICEfaces components are necessary to support RTL languages. To change the page flow of the HTML DOM (make the elements flow from right to left), you would define the dir attribute in the html tag. So, the xhtml would look like <html ... dir="rtl"> This does what you're looking for. I've just done this for my ICEfaces application, and all of the page elements flow rtl. I have had to override some CSS styles which assumed left and right (ie, padding-left, etc), but it is easy to add a second style looking for the dir attribute of the html element. This document was valuable in understanding the best approaches for supporting RTL languages. http://www.w3.org/TR/i18n-html-tech-bidi/ But, to answer this issue's question, I don't think changes to the ICEfaces components are required.
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Khosro Asgharifard
            • Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: