"Results for" not getting translated in Faceted Search widget in Service Portal


Description

"Results for" not getting translated in Faceted Search widget in Service Portal.

Cause

Parameters in HTML body of the widget will look for references in the sys_ui_message table. sys_ui_message cannot be matched if the key is within a group of characters.

Resolution

You have to clone the widget to create a custom widget and edit the following line in the Body HTML template of the widget from

<h2 class="h4 panel-title results-heading" tabindex="0">{{t_label}} ${ results for '{{data.q}}'}</h2>
to
<h2 class="h4 panel-title results-heading" tabindex="0">{{t_label}} ${ results for }'{{data.q}}'</h2>

That will resolve the issue.