diff --git a/docs/guides/changing-the-language.md b/docs/guides/changing-the-language.md index e69de29bb..01c95ee16 100644 --- a/docs/guides/changing-the-language.md +++ b/docs/guides/changing-the-language.md @@ -0,0 +1,143 @@ +--- +template: overrides/main.html +--- + +# Changing the language + +Material for MkDocs supports internationalization (i18n) and provides +translation keys for all template variables and labels in 40+ languages. +Additionally, search can be configured to use a language-specific stemmer +(if available). + +## Configuration + +### Site language + +[:octicons-file-code-24: Source][1] · :octicons-tools-24: Default: `en` + +You can set the language from `mkdocs.yml` with: + +``` yaml +theme: + language: en +``` + +The following languages are supported: + + +
af
/ Afrikaansar
/ Arabicbn
/ Bengali (Bangla)ca
/ Catalancs
/ Czechda
/ Danishde
/ Germanen
/ Englishes
/ Spanishet
/ Estonianfa
/ Persian (Farsi)fi
/ Finnishfr
/ Frenchgl
/ Galiciangr
/ Greekhe
/ Hebrewhi
/ Hindihr
/ Croatianhu
/ Hungarianid
/ Indonesianit
/ Italianja
/ Japanesekr
/ Koreanmy
/ Burmesenl
/ Dutchnn
/ Norwegian (Nynorsk)no
/ Norwegianpl
/ Polishpt
/ Portuguesero
/ Romanianru
/ Russiansh
/ Serbo-Croatiansi
/ Sloveniansk
/ Slovaksr
/ Serbiansv
/ Swedishth
/ Thaitr
/ Turkishuk
/ Ukrainianvi
/ Vietnamesezh
/ Chinese (Simplified)zh-Hant
/ Chinese (Traditional)zh-TW
/ Chinese (Taiwanese)