This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f15b077d-192c-4195-a109-8df62d25c291 XWIKI-24380 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fd3cf717-2d97-4b90-89c8-98f6279f9aac Ilie Andriuta created this issue on 19/May/26 14:12
 
Summary: Search results sections are not displayed properly when searching British (en_GB) translations
Issue Type: cid:jira-generated-image-avatar-f15b077d-192c-4195-a109-8df62d25c291 Bug
Affects Versions: 17.10.8, 18.1.0
Assignee: Unassigned
Attachments: en_GB_translation.png
Components: Search - UI
Created: 19/May/26 14:12
Environment: Windows 11 Pro, Edge 148, using an instance of XWiki 18.1.0 on PostgreSQL 17, Tomcat 11.0.22
Priority: cid:jira-generated-image-static-major-6b568af9-413d-4fe6-939e-e8ac8d8dfc8c Major
Reporter: Ilie Andriuta
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.

 
 

1 update

 
cid:jira-generated-image-avatar-fd3cf717-2d97-4b90-89c8-98f6279f9aac Changes by Ilie Andriuta on 19/May/26 14:14
 
Description: *Steps to reproduce*
# Login as Admin
# Go to Administer Wiki > Content > Localization
# Set 'Multilingual' to 'No'
# Set 'Default Language' to 'English (United Kingdom)'
# Create a page with something distinctive in the title and content (e.g. 'UK')
# Search by that distinctive words (e.g. 'UK')
# Click 'Highlight all matches' button on the search result
# 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) .