I do use that but the results are still returnung english
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.:
We hade similar problems when we used specific cultures that was based on English, e.g. en-IN.
(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?