Search does not work in french language
See original GitHub issueI checked that…
- … the documentation does not mention anything about my problem
- … the problem doesn’t occur with the default MkDocs template
- … the problem is not in any of my customizations (CSS, JS, template)
- … there are no open or closed issues that are related to my problem
Description
Search word in with mkdocs-material fir french language does not work properly
Expected behavior
Simple word such as ‘plage’ should be found. Accented words are not consistently found.
Actual behavior
‘plag’ is found, but not ‘plage’
Steps to reproduce the bug
- Install mkdocs-material (5.2.2)
- Use this
mkdocs.yml
file:
site_name: My Docs
theme:
name: material
language: fr
plugins:
- search
and this ./docs/index.md
Cet été ensoleillé, nous irons à la plage.
- serve mkdocs (
python -m mkdocs serve
) and search forplage
.
Package versions
- Python: `3.8.3
- MkDocs:
1.1.2
- Material:
5.2.2
Project configuration
site_name: My Docs
theme:
name: material
language: fr
plugins:
- search
System information
- OS: Linux 5.6.15-arch1-1 x86_64 GNU/Linux
- Browser: firefox
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Change your language on the web - Computer - Google Support
To check your Google Account language, open your Google Account. You'll find the language you selected. The language change didn't work: If your...
Read more >Troubleshoot checking spelling and grammar in multiple ...
Why spell check isn't working for a different language, such as French or Spanish. ... The Do not check spelling and grammar check...
Read more >French Translation of “to search” - Collins Dictionary
1. [room, drawer, house] fouiller. to search sth for sb. They searched the woods for her. · 2. [police, customs]. [area, house, bags]...
Read more >Translation in context from English to French - Reverso Context
Find the French translations in context of English words, expressions and idioms; a free English-French dictionary with millions of examples of use.
Read more >Change the language and region on iPhone - Apple Support
Go to Settings > General > Language & Region. Set the following: The language for iPhone. Your preferred form of address. (Choose feminine,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note that search is super tricky to get right for 40 languages. This may have introduced new problems I’m not aware of. I tried to test as many languages as I could, but unfortunately, my time is limited.
Mmm, I closed mkdocs serve, refresh, did a lot of things… and in exactely the same config as https://github.com/squidfunk/mkdocs-material/issues/1745#issuecomment-640232868 I can now find “nous” ! Haha I am a bit confused 😃 screenshot
The search functionality is very important for a web doc, so maybe id it wiser to mark the multi-language search as experimental?
I think I will set the language as english by default as it might give the most stable results. Thank you again for help. If I can be of any support for testing, I’d be happy to help.