Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-1373

Support RTL languages (e.g. Hebrew, Arabic, Persian) for editing and searching

    • 1
    • 19
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Atlassian Status as of June 27, 2018

      Hi all,

      I'm pleased to let you know that we now support searching in Persian and Arabic. This improvement is available to Server and Data Center customers in Confluence 6.10.0 - check out the Release Notes for more information.

      Although we've investigated it, we're currently unable to deliver this improvement for Hebrew. Unfortunately there are currently no suitable libraries with the correct licensing available to us. To follow the progress of search for Hebrew, please watch: https://jira.atlassian.com/browse/CONFSERVER-55859

      We haven't at this point looked into the editing of RTL languages. If this is something you're interested in having supported, please vote on: https://jira.atlassian.com/browse/CONFSERVER-55860

      Many thanks
      Jenny Millman | Product Manager, Confluence Server

       

      Original request:

      We would like to have support for Hebrew (RTL language) both in search and editing within documents as well.

      This would include:

      • support for changing text direction in the editor
      • proper rendering of RTL text on Confluence pages
      • support for text containing paragraphs or phrases with text in different directions (RTL and LTR)
      • indexing and searching support for RTL languages.

      Workaround

      It is possible to create a user macro in Confluence to support inserting blocks of RTL text and displaying them properly. Ask your Confluence administration to define a new rtl user macro with the following contents, and an output format of HTML:

      #set($globalHelper=$action.getHelper())
      #set($renderer=$globalHelper.getWikiStyleRenderer())
      #set($context=$content.toPageContext())
      #set($renderedContent=$renderer.convertWikiToXHtml($context, "${body}"))
      <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${renderedContent}</div>
      

      This can be used in the editor to indicate and properly format blocks of RTL text.

      For Confluence 4.0 and higher, the following Macro needs to be used, as with the removal of wiki markup, the conversion from wiki to XHTML is no longer necessary. Make sure Rendered is selected as the Macro Processing option.

      ## @noparams
      <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${body}</div>
      

        1. conf1.png
          160 kB
          Ansar Rezaei
        2. conf-ar-space.css
          3 kB
          4US
        3. image-2017-05-15-14-11-23-350.png
          314 kB
          Ansar Rezaei
        4. image-2017-05-15-14-14-08-467.png
          321 kB
          Ansar Rezaei
        5. Screen Shot 2016-02-22 at 19.40.34.png
          92 kB
          shukron

            [CONFSERVER-1373] Support RTL languages (e.g. Hebrew, Arabic, Persian) for editing and searching

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3580364 ] New: JAC Suggestion Workflow 3 [ 4341414 ]
            Amir made changes -
            Comment [ .|https://google.com/ ]
            Amir made changes -
            Comment [ Try this
            [https://file.io/Y8gfixEJ6EQh] ]
            Rob made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 494484 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3186628 ] New: JAC Suggestion Workflow 4 [ 3580364 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3040086 ] New: JAC Suggestion Workflow 2 [ 3186628 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2539806 ] New: JAC Suggestion Workflow [ 3040086 ]
            Jenny (Inactive) made changes -
            Description Original: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-1373].
              {panel}

            Original request:

            bq. We would like to have support for Hebrew (RTL language) both in search and editing within documents as well.

            This would include:

            * support for changing text direction in the editor
            * proper rendering of RTL text on Confluence pages
            * support for text containing paragraphs or phrases with text in different directions (RTL and LTR)
            * indexing and searching support for RTL languages.

            h3. Workaround

            It is possible to [create a user macro|http://confluence.atlassian.com/display/DOC/Writing+User+Macros] in Confluence to support inserting blocks of RTL text and displaying them properly. Ask your Confluence administration to define a new {{rtl}} user macro with the following contents, and an output format of HTML:

            {code}
            #set($globalHelper=$action.getHelper())
            #set($renderer=$globalHelper.getWikiStyleRenderer())
            #set($context=$content.toPageContext())
            #set($renderedContent=$renderer.convertWikiToXHtml($context, "${body}"))
            <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${renderedContent}</div>
            {code}

            This can be used in the editor to indicate and properly format blocks of RTL text.

            For Confluence 4.0 and higher, the following Macro needs to be used, as with the removal of wiki markup, the conversion from wiki to XHTML is no longer necessary. Make sure {{Rendered}} is selected as the Macro Processing option.
            {code}
            ## @noparams
            <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${body}</div>
            {code}
            New: {panel:bgColor=#e7f4fa}
            *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-1373].
            {panel}
            {panel:title=Atlassian Status as of June 27, 2018|borderStyle=solid|borderColor=#3c78b5|titleBGColor=#3c78b5|bgColor=#e7f4fa}
            Hi all,

            I'm pleased to let you know that we now support searching in Persian and Arabic. This improvement is available to Server and Data Center customers in Confluence 6.10.0 - check out the [Release Notes|https://confluence.atlassian.com/doc/confluence-6-10-release-notes-952058221.html] for more information.

            Although we've investigated it, we're currently unable to deliver this improvement for Hebrew. Unfortunately there are currently no suitable libraries with the correct licensing available to us. To follow the progress of search for Hebrew, please watch: https://jira.atlassian.com/browse/CONFSERVER-55859

            We haven't at this point looked into the editing of RTL languages. If this is something you're interested in having supported, please vote on: https://jira.atlassian.com/browse/CONFSERVER-55860

            Many thanks
             Jenny Millman | Product Manager, Confluence Server
            {panel}
             

            Original request:
            {quote}We would like to have support for Hebrew (RTL language) both in search and editing within documents as well.
            {quote}
            This would include:
             * support for changing text direction in the editor
             * proper rendering of RTL text on Confluence pages
             * support for text containing paragraphs or phrases with text in different directions (RTL and LTR)
             * indexing and searching support for RTL languages.

            h3. Workaround

            It is possible to [create a user macro|http://confluence.atlassian.com/display/DOC/Writing+User+Macros] in Confluence to support inserting blocks of RTL text and displaying them properly. Ask your Confluence administration to define a new {{rtl}} user macro with the following contents, and an output format of HTML:
            {code:java}
            #set($globalHelper=$action.getHelper())
            #set($renderer=$globalHelper.getWikiStyleRenderer())
            #set($context=$content.toPageContext())
            #set($renderedContent=$renderer.convertWikiToXHtml($context, "${body}"))
            <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${renderedContent}</div>
            {code}
            This can be used in the editor to indicate and properly format blocks of RTL text.

            For Confluence 4.0 and higher, the following Macro needs to be used, as with the removal of wiki markup, the conversion from wiki to XHTML is no longer necessary. Make sure {{Rendered}} is selected as the Macro Processing option.
            {code:java}
            ## @noparams
            <div style="text-align: right; direction: rtl; unicode-bidi: inherit;">${body}</div>
            {code}
            Jenny (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            SET Analytics Bot made changes -
            UIS Original: 13 New: 1

              Unassigned Unassigned
              007ec62d84dd lior patish
              Votes:
              130 Vote for this issue
              Watchers:
              110 Start watching this issue

                Created:
                Updated:
                Resolved: