London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
I think this "bug" could be due to a mismatch of cultures between .NET and Elastic/Find. Try to pass the language/culture into FilterForVisitor() as well, e.g.:
FilterForVisitor(ContentLanguage.PreferredCulture.ToString())
We hade similar problems when we used specific cultures that was based on English, e.g. en-IN.
Hi,(lang); way to get Published content in a specific language using Episerver FIND.
I have a site that has two languages - English and Welsh.
I am using the SearchClient.Instance.Search
But both languages are coming through and pages that have not been Translated into Welsh are coming through on the welsh page and are showing up as English pages.
Im not sure if I am passing through the language correctly or if I am missing something. But I dont want to show Non-translated pages and I need to show just welsh pages when viewing the site in cy-GB.
Can you help?