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
          conf1.png
          160 kB
        2. conf-ar-space.css
          3 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. Screen Shot 2016-02-22 at 19.40.34.png
          Screen Shot 2016-02-22 at 19.40.34.png
          92 kB

            [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 added a comment - - edited

            Amir added a comment - - edited https://gitlab.com/shelly.goldblit/confluencetinymce-directionalityplugin/-/blob/master/releases/tinymce-directionality-1.0.5.jar

            Hi Everybody,

            RTL for Confluence app is now available on Atlassian Marketplace for Confleunce Data Center! 

            https://marketplace.atlassian.com/apps/1228597/rtl-for-confluence?tab=overview&hosting=datacenter

            Paz Grimberg added a comment - Hi Everybody, RTL for Confluence app is now available on Atlassian Marketplace for Confleunce Data Center!  https://marketplace.atlassian.com/apps/1228597/rtl-for-confluence?tab=overview&hosting=datacenter

            Ansar Rezaei added a comment - I updated the link! https://www.dropbox.com/s/shd4lw01d21cg50/confluence.css

            cnp rayan added a comment -

            Just create a github repo and share the git link

            cnp rayan added a comment - Just create a github repo and share the git link

            amirgauss added a comment -

            Thanks @a7446bea4995

            amirgauss added a comment - Thanks @ a7446bea4995
            Amir made changes -
            Comment [ Try this
            [https://file.io/Y8gfixEJ6EQh] ]

            me added a comment -

            @8d4f6b748431 link not work.

            me added a comment - @ 8d4f6b748431 link not work.

            me added a comment -

            how we can use css file?

            where is the path?

            anybody here can explain step by step?

             

            Thanks,

            me added a comment - how we can use css file? where is the path? anybody here can explain step by step?   Thanks,

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

                Created:
                Updated:
                Resolved: