when i leave the [extra: search: language] empty, it works OK with english.
some people mentioned if set to ja, it could support Chinese, so i tried, but the site search not working now. here is site url https://english.thingswell.cn/
version info:
Python 3.4.3
mkdocs, version 1.0.4
mkdocs_material-4.0.2.dist-info
config:
theme: material
site_url: https://english.thingswell.cn/
extra:
search:
language: 'en, ja'
but if i only set language to 'en' it works!
Please see #1023. It鈥榮 fixed in master but I鈥檓 currently on holiday until end of the week and didn鈥檛 manage to prepare a release. Also read the last comment in the linked issue.
You can avoid this problem to downgrade mkdocs_material-4.0.1
Let's looking forward to the next release. (4.0.3 or later)
Closing, as it is a duplicate of #1023.
Released as part of 4.1.0. Note that you need to change en, jp to en, ja. ja is the official language code for Japanese, lunr-languages switched from jp to ja and provided an upgrade path still supporting jp as an alias, but it would be too costly to support both in Material. Therefore only ja is supported from now on.
confirmed it works well now!
I was also in trouble but settled the matter.
thanks!
Most helpful comment
Released as part of 4.1.0. Note that you need to change
en, jptoen, ja.jais the official language code for Japanese,lunr-languagesswitched fromjptojaand provided an upgrade path still supportingjpas an alias, but it would be too costly to support both in Material. Therefore onlyjais supported from now on.