cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Translations for Searchresults highilight custom field

srivathsa_konda
Champ in-the-making
Champ in-the-making

Hi Team,

I have followed steps mentioned in the below URL Search with result highlight I have added custom type metadata to fetch in the thumbnail, have added in the following function ( ie:AccountNo)

if (this.searchTerm) { // this.set('params.system_fulltext', this.formatFulltext(this.searchTerm)); this.set('params.system_fulltext', this.searchTerm); this.set('params.highlight', 'ie:AccountNo,dc:title.fulltext,ecm:binarytext,ecm:binarytext.common,dc:description.common,dc:description.fulltext,nxtag:tags.label,note:note.fulltext,file:content.name'); }

and added following translation in messages.json file "searchresults.highlight.field.ie:AccountNo":"AccountNo"

i'm able to search the account no when entered in the full text search field, but instead of displaying Account No = in the thumbnail its displaying searchResults.sort.field.IE:AccountNo = instead of AccountNo =

Have attached the screenshot for the same. I have cleared cache from tomcat Nuxeo sdk work folder

please let me know if i'm missing any configuration.

Thanks and Regards, Srivathsa K

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hi,

Have you checked the locale uses by your browser? Sometimes your browser is expecting a variant.

To load my labels, I use to hard refresh or use the Clear Cache Chrome extension (you don't need to do anything server side).

More information here https://doc.nuxeo.com/nxdoc/web-ui-managing-translations/

Good luck

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.