Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24380

Search results sections are not displayed properly when searching British (en_GB) translations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.1.0, 17.10.8
    • Search - UI
    • None
    • Windows 11 Pro, Edge 148, using an instance of XWiki 18.1.0 on PostgreSQL 17, Tomcat 11.0.22
    • Unknown

    Description

      Steps to reproduce

      1. Login as Admin
      2. Go to Administer Wiki > Content > Localization
      3. Set 'Multilingual' to 'No'
      4. Set 'Default Language' to 'English (United Kingdom)'
      5. Create a page with something distinctive in the title and content (e.g. 'UK')
      6. Search by that distinctive words (e.g. 'UK')
      7. Click 'Highlight all matches' button on the search result
      8. Observe the search result

      Expected results

      The sections of the search results are translated and displayed properly, e.g. 'Document content', 'Title', 'Location', 'Document source'.

      Actual results

      When searching a document in the 'English (United Kingdom) - en_GB' language, the sections are not displayed properly (or translated).

      They are displayed as: 'doccontentraw_en','doccontent_en', 'title_en'.

      The issue reproduces as well if the wiki is set to Multilingual and doesn't reproduce when searching other translations (French of Deutsch).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: