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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

search on i18n multilingual sites


Go to End


2088 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 tutorial 4?

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 patch ticket #2267 but it did not work at all.)

Cheers!
Anatol