-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Search results for polish are in spanish #1564
Comments
I can reproduce this in Firefox on Linux and my locale is neither Spanish nor Polish:
To reproduce:
expected:You get results from the Polish translation of the Django Girls tutorial observed:
|
Is this a bug in GitBook legacy? I can't see any related settings on our side (i.e. in the content of this repo) that might be misconfigured. |
It can be - I found that gitbook legacy is using https://github.com/GitbookIO/plugin-search which seems not maintained anymore |
I've systematically tried in all languages listed on https://tutorial.djangogirls.org/
There seems to be a clear pattern linked to the order in which the translations are listed on https://tutorial.djangogirls.org/ (which probably also is the order in which they were initially published?): Everything after Spanish has Spanish search results, while those listed before Spanish have results in the respective proper language: |
I wonder whether this is related to #177. @SamyPesse, can you help us here? |
I have just bumped into probably root cause here. When I build tutorial locally I got
There's a warning during rendering Persian language:
I would assume, that increasing index threshold should resolve that issue. (We shold alos check hot to do so on Gitbook service). |
I'm having the same issue but I see that the problem is not tied to Polish-Spanish, searching yields results in all languages, independently of the selected language. Probably better to modify the issue tittle |
Issue description
When user searches for term in polish language search results are presented in spanish:
Yet clicking on term results in polish entry 🤷♂
Language
Polish
Operating system
Tested on mac
The text was updated successfully, but these errors were encountered: