10 Aug 2010
11 Oct 2012
Link to this post
Hi. I have been trying in vain to find the answers to my question regarding localized search results. I have a site that will support multiple languages but I am running into some issues and I hope by asking directly I can get some good information. We are running Sitefinity version 5.0.2860.0 and I am attempting to filter search results based on the current culture.
Currently we are implementing two cultures with more to come. The default culture is en and we also have en-GB enabled. When I perform a search on the US site (en) I receive results for both en and en-GB. When I perform a search on the en-GB site I get no results at all. I am using the standard SiteFinity search controls in my templates.
I have seen this approach (see link) to filtering search results from Ivan on older versions but Sitefinity has changed quite a bit since then and I am having trouble translating this to version 5.
I'm pretty comfortable with building user controls and setting the search results template etc from within Sitefinity but can someone please assist me with a rundown of how to filter search results by the current culture? After several days of searching I am coming up short of the answers and our client needs this functionality within the next couple of days. I'm hoping a Sitefinity representative can assist.
Thank you in advance.