Loading...
 
Features / Usability

Features / Usability


Search in different languages

posts: 13
Bernard Sfez / Tiki Specialist wrote:

Hello,

Naming EN and DE them is not enough.
Did you assign the corresponding language to the page ? (edit-properties)


Thank you for your answer
The test pages had set the respective language and the title was chosen simply to show the problem.
In our wiki we have program functions whose page titles in different languages partly have the same content that you would search for.

Problem seems to be the missing language parameter when running the search via the search widget:
&filter~language=en&filter~language_unspecified=1

In the search module there is the field "Additional filters".
But even if I add the parameters there, it has no effect on the search result:
Search001
Search002
Search003

And even if it would work I would have to display different search widgets depending on the language.

search module (with additional filters):
http://demo.tiki.org/21x/tiki-searchindex.php?filter%7Econtent=tikiwiki&filter%7Etype%5B%5D=wiki+page&filter%7Efilter%7Elanguage=en&filter%7Efilter%7Elanguage_unspecified=1&search=Search

search page:
http://demo.tiki.org/21x/tiki-searchindex.php?filter%7Econtent=tikiwiki&sort_mode=score_ndesc&filter%7Etype%5B%5D=wiki+page&filter%7Elanguage=en&filter%7Elanguage_unspecified=1

Do I have to embed the filter differently?
Is it possible to add the parameter directly in the source code of the search module?