Bug 39580

Summary: Make Elasticsearch process_error error string translatable
Product: Koha Reporter: Shi Yao Wang <shi-yao.wang>
Component: I18N/L10NAssignee: Shi Yao Wang <shi-yao.wang>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, f.demians, jonathan.druart
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 39580: Make Elasticsearch process_error error string translatable

Description Shi Yao Wang 2025-04-08 14:12:31 UTC

    
Comment 1 Shi Yao Wang 2025-04-08 14:20:36 UTC
Created attachment 180723 [details] [review]
Bug 39580: Make Elasticsearch process_error error string translatable

Test plan:
1- Change to a language other than english
2- Search in the catalog with "!"
3- Notice the string "Unable to understand your search query, please
 rephrase and try again." is not translated
4- Apply the patch
5- Add translation in .po file of used language for "Unable to
understand your search query, please rephrase and try again.\n"
6- Update translation
7- Redo the search and notice the string is now translated