Loading...
 
Skip to main content

Features / Usability


Searches in different languages

Hi,

I have a problem with "search".❓
When I search for an existing term "XXXX" in an article.. there is a result in one language of the website but not in another language supported.

For example:
a) (website in English): If I create an article wich contains "XXXX" term, the search returns -> article found!😀

b) (website in another supported language): the search returns -> nothing! for "XXXX" term.❗😢

This happens the other way too.

What's happening?
Any term should be found in all supported language .. Is it correct? Are there any special parameters to configure this characterictics?

Thanks!
Regards.

actano wrote:

Hi,

I have a problem with "search".❓
When I search for an existing term "XXXX" in an article.. there is a result in one language of the website but not in another language supported.

For example:
a) (website in English): If I create an article wich contains "XXXX" term, the search returns - article found!😀

b) (website in another supported language): the search returns - nothing! for "XXXX" term.❗😢

This happens the other way too.

What's happening?
Any term should be found in all supported language .. Is it correct? Are there any special parameters to configure this characterictics?

Thanks!
Regards.



Hello again!
I solved this by commenting (in tiki-searchresults.php) the following code:

/*

if 'searchLang'" class="wiki wikinew text-danger tips isset">$_REQUEST'searchLang' {
$searchLang = $_REQUEST'searchLang';
} elseif($prefs'search_default_interface_language' == 'y') {
$searchLang = $prefs'language';
} else {
$searchLang = '';
}

  • /


So now, when you search for any term.. the result is independent of the language.

Thansk!
actano.