-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If no ZIM found for a language then automatically make the search with other languages (kiwix-serve) #562
Comments
@juuz0 Do you have an opinion on this idea? |
@kelson42 I think it's good and definitely useful (as I had the exact same problem as yours earlier). Though, for the implementation, not too sure if we should be showing tiles straight away (feels like that sort of defeats the purpose of filter). Alternatively, how about showing a link after all related tiles end: |
I don't it would defeat the purpose of language filter if we would "always" provide as well results in other languages. It is just that the language filter won't be strict, but kind of "prefered result". I'm in favor to run the search for all languages also only if all tiles for the prefered language are already visible ; either from the beginning or after scrolling down. Last point: in last section, the tiles for all languages should not be displayed, only for all languages without the prefered language. |
Yeah okay I agree, should I start implementing it then? @kelson42 |
@juuz0 Not sure. Would ne great, but don't know how complex it is. |
Could it be a sorting order (queried language first, other language after) instead of a true filter ? |
@mgautierfr I don’t think so. Ultimatively we will probably have a language filter accepting many languages. |
If this is still desirable, I can start working on this. Extra:
Seems to be possible now (kiwix/libkiwix#841) - no possible way to do it through UI yet (which shouldn't be much hard again, multiple checkboxes? :> don't see an issue open for that though) |
I think that search in multiple (selected) languages is a different issue. Another solution to the current problem (the title of the issue is more a proposed solution to a problem than a description of the problem :) ) is that we could do the search in all language by default and propose a button |
Yes. Let me rephrase this ticket:
|
Kiwix-serve welcome page search, per default, runs with the browser language. It’s not possible (for the moment), to make search in many chosen languages…. Or then with all of them.
Being a person which can read in many languages, I often search for a content language which is not in the language currently selected (most of the time, the language of my browser). Doing so, I get nonresult, then have to understand that the problem is the language filter and then change it.
Therefore, I propose, to display results in « other languages » as well, at least if no result is found. But maybe it would be good to do that all the time. From a UI point of view, we would have two sections of tiles:
The text was updated successfully, but these errors were encountered: