Try our conversational search powered by Generative AI!

Facets in current language

Vote:
 

Just got started with EPiServer Find and Joel Abrahamsson's article "Building a search page for an EPiServer 7 site with EPiServer Find" and the accompanying source code was a big help.

I have a problem though... I haven't been able to figure out how to get facet categories (sectionGroup.Term in the code) to display in the correct language for translated pages (in a site where English is the master language). The facet categories use the page names and are displayed in English, regardless of what the current language is...

Does anyone know if it is possible to show the translated names instead for the current language?

#75843
Oct 08, 2013 16:19
Vote:
 

http://joelabrahamsson.com/docs/episerver-find-alloy-search-page/sitepagedata.html

I would change SearchSection to return the PageLink.ID instead of PageName. Then you can do a GetPage on it from the search page and get the correct language PageName that way.

#77709
Edited, Nov 25, 2013 11:15
Vote:
 

Thanks, I'll give that a go (sorry for replying so late)!

#82094
Mar 05, 2014 12:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.