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: Signed Off --- 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: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 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
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
Comment 2 Lucas Gass (lukeg) 2025-11-07 15:28:08 UTC
Created attachment 189344 [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

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>