diff --git a/docs/setup/changing-the-language.md b/docs/setup/changing-the-language.md index 6f9a8fa49..98f5e284e 100644 --- a/docs/setup/changing-the-language.md +++ b/docs/setup/changing-the-language.md @@ -20,9 +20,17 @@ You can set the site language in `mkdocs.yml` with: ``` yaml theme: - language: en + language: en # (1)! ``` +1. HTML5 only allows to set a [single language per document], which is why + Material for MkDocs only supports setting a canonical language for the + entire project, i.e. one per `mkdocs.yml`. + + The easiest way to build a multi-language documentation is to create one + project in a subfolder per language, and then use the [language selector] + to interlink those projects. + The following languages are supported: