A Smart Search
in Joomla indexes a field that points to the language for the article. We can even turn off any language of the Smart Search
. But I did not see such an opportunity so that for the English
version of the website I could display the search results only in English
, and for the Russian
version of the website I could display the search results only in Russian
.
I suggest adding a parameter for Multilingual
websites to the settings of Smart Search
, with which we can share search results for different language versions of the website.
And also add to the page with search results a new parameter for search - search for articles by language.
Currently, Smart Search
cannot be used on Multilingual
websites. Search shows all search results in all languages. You need a parameter to display search results only in a specific language (English, Russian, etc) for the website version in a specific language (by default).
For example:
Labels |
Added:
?
|
For the moment (and there was a good reason to do that when finder was merged into J), maps are not implemented when the the multilanguage filter is on.
![]()
I don’t understand what you mean. And I don’t understand what maps
mean (are they sitemaps
?).
So it is impossible to do a smart search
for two language versions of a website?
@sanek4life You can have different smart search menu items or smart search modules in different languages assigned to the pages in that language. With maps
@infograf768 means the Content Maps of the Smart Search component, see administrator/index.php?option=com_finder&view=maps
.
For the moment (and there was a good reason to do that when finder was merged into J), maps are not implemented when the the multilanguage filter is on.
![]()
@richard67 @infograf768 in Russian
, no one wrote a NOTE
to this parameter:
I still don’t understand how to include search results for different languages. I'm create 2 menu items with search results (for ru
and en
), created 2 search modules (for ru
and en
), Associations
them. and still did not understand how to make the setting to display the search results - in the Russian
version in Russian language
and in the English
version in English language
.
Do I understand correctly that it is not possible to do this on a multilingual
website at present?
Is there any instruction on how to do this, step by step, if possible?
The smart search results in a multilingual site depend on the language in use.
Here we have an example searching for the word
ligue
depending on the language in use, knowing that this word is used both in articles tagged to French and articles tagged to EnglishEnglish
![]()
French
![]()
It turns out that it is impossible to exclude articles
in English (articles for which the language is selected - fr-FR
) from a site search in French
. Search searches for any article in any language. This is not exactly what i'm need.
It is necessary to completely remove articles with language en-GB
from the search in Russian
. And completely remove articles with language ru-RU
in English
version, then it will be working multilingualism
. Because articles
, categories
, tags
and menu
items have Associations
, thus in the search those materials that have a link in another language and show the article only in the language selected on the site could be excluded (for example: ru-RU
articles in the Russian
version of the website, without en-GB
articles).
Joomla in general does not care about the language of the content of an article or the language used in its title. The only aspect considered is the language the item is tagged to.
(article or anything else...)
Edit: also an association is not necessarily a translation!
Smart search with multilingual is still problematic. I also got the problem described above after I enabled smart search and in addition the indexing is problematic for the other languages.
Although articles etc. get normally indexed, if I look for a word that exists in english articles and also in other language(s) articles [from the other language(s) section] their resulting articles may or may not come up at all.
Smart search really needs a lot of work, in multilingual Joomla.
There were many changes in 4.0. You may want to test a 4.0 nightly build.
Joomla in general does not care about the language of the content of an article or the language used in its title. The only aspect considered is the language the item is tagged to.
(article or anything else...)Edit: also an association is not necessarily a translation!
I know that the article
may have different words (these words can be written in different languages in the article). For example, I have an article
about Android in Russian language, but the word Android, which is written in English language, also appears in this article
. This article is attached to the ru-RU
language.
So, whe i use the Russian version of the website, no matter what word I wrote in the search on the site (in Russian language or English language), so that I want to see only articles that indicate the language of ru-RU
articles.
For example: in the Russian version of the website, I search for the English word Android in the search, and the search shows me only those articles that indicate the language ru-RU
, and the English word Android is written, but in the search I do not want see articles that indicate the language en-GB
and in which there is the word Android (which is also written in English language).
As I do not see menu items
, categories
, tags
and articles
in English (en-GB
), when I use the Russian version of the site (ru-RU
), so the search should work - show only those articles in which the language is ru-RU
, regardless of what language the words are in this article.
If the site user wants to see articles in English, then he will switch to the English (en-GB
) version of the site. (I mean, these articles are written entirely in English, and not only contain English words).
Because articles
in Russian also contain English words, but these articles should be shown only in the Russian version of the site and in search on the Russian version of the site.
I hope you understand what I mean. I am trying to explain this. Perhaps we do not understand each other (English is not my native language).
@MaghSamana I think you have the same problem as me.
It looks like you do not understand my reply.
Please look again at the screenshots I posted above and the results obtained (look at the urls).
article containing searchword Android and tagged to en-GB will only appear in the search results if the frontend page is en-GB.
article containing searchword Android and tagged to ru-RU will only appear in the search results if the frontend page is ru-RU.
As @infograf768 wrote, this is definitely the case for at least Joomla 4.0 and I think also for 3.x. Thus this issue can be closed.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-20 19:06:52 |
Closed_By | ⇒ | alikon | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
For the moment (and there was a good reason to do that when finder was merged into J), maps are not implemented when the the multilanguage filter is on.