Skip to content

Multi-language search not working properly

Bug report

🐞 Create a report to help us improve!

Checklist

  • This issue is not a duplicate, I've searched the Issue Tracker
  • This issue is not a question, I'm aware that I can submit questions via Mastodon, Twitter, Email, Reddit or Matrix
  • This issue is a bug report, and not a content request, feature request, or anything other

What is the bug behavior?

GoFOSS added full translation for French & German. Unfortunately, the search functionality mixes those languages. This reduces the usability for readers in either language. Adding more languages would presumably make it worse.

What is the expected correct behavior?

Searches should only return results in the currently selected language.

What are the steps to reproduce the bug?

  1. Browse to https://gofoss.today
  2. Search for the word Firefox
  3. See mixed results in all three languages

What are possible fixes?

The issue seems unresolved. While Material for MkDocs' built-in search plugin supports multiple languages, search results will appear in multiple languages. See also here

Do you have additional comments?

See also Issues #2 (closed) and #5 (closed) .

Edited by crixus