Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

search on i18n multilingual sites


Reply


881 Views

Avatar
Anatol

126 Posts

17 December 2008 at 10:13am

Edited: 17/12/2008 11:17am

Hi,

Does anyone know an easy way to search multilingual pages using the search as described in [url=http://doc.silverstripe.com/doku.php?id=tutorial:4-site-search]tutorial 4[/url]?

I have the problem that the search only returns results from the default language (English) stored in the SiteTree table. When I am in a translated page I would like to search either

  • - in the current language/translation only or
  • - in all languages (preferably with results in my current language first) and with the language code visible in the search results

I will investigate further but I imagine that others had the same problem before.

(I found the [url=http://open.silverstripe.com/ticket/2267]patch ticket #2267[/url] but it did not work at all.)

Cheers!
Anatol