How to change facet value in different languages
Hi Team, May I ask how to change facet value in different languages? For example : the template facet below, we would like to see 'æç« ' instead of Article e.g. Type :
You have many choices for that but it depends on many factors.
If you have one indexed document per article per language, you can index the translated type directly in the indexed documents so the English article will have "Article" for the @type field and the Chinese article will have "æç« " for the same field. That way, your facet will always display the same field and its values will depend on the search result set.
If you have only one indexed document per article:
valueCaption option to define the translated version of each facet value. This approach is a bit harder because you need to render the translations at page load. Thus, you need to know the target language and all the possible facets values to be sure to cover them all.
If you are using the older Coveo .Net Front-End product, there's a similar feature in the facet properties page of the Interface Editor.