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

XMLWordPrintable

    • 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. conf-ar-space.css
          3 kB
        2. Screen Shot 2016-02-22 at 19.40.34.png
          Screen Shot 2016-02-22 at 19.40.34.png
          92 kB
        3. image-2017-05-15-14-11-23-350.png
          image-2017-05-15-14-11-23-350.png
          314 kB
        4. image-2017-05-15-14-14-08-467.png
          image-2017-05-15-14-14-08-467.png
          321 kB
        5. conf1.png
          conf1.png
          160 kB

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

                Created:
                Updated:
                Resolved: