Hi
Currently there is no support for the translate plugin available.
I cannot say exactly how it will behave. I guess it just ignores translated contents. You'll only be able so search the contents in your main language.
I cannot even configure plugin to working with lang prefixed links. So it doesn't work at all when language Switcher change links.
BTW. Thanks for SiteSearch!
Last updated
I've created a new issue for this feature. I'll try to implement it in one of the future releases.
You can watch the issue to stay up to date.
https://github.com/OFFLINE-GmbH/oc-site-search-plugin/issues/5
There might be an issue with the translate plugin for Rainlab pages, when searching.
Everything is correct for the results from the rainlab blog pages, but not for the rainlab pages.
Always the lang code is added in the search results for the Rainlab pages.
If you klick the link then and type another search, it ends up in error, as the url looks would like this:
mysite.com/en/en/about
instead of
mysite.com/en/about
For the blog pages the search result is returned correctly:
mysite.com/en/blog/default
I have turned off all translate extended parameters ...
Any idea?
Last updated
Have you customized the search results partial?
What is the output of
dd($langPrefix, $page->viewBag['url']);
when you add it right before ths return statement
1-9 of 9