i18n
Hugo has built-in support for multilingual sites. You can find more information about it in the official documentation.
Translation files are placed in the i18n
directory. The file name is the language code. For example, the en.yaml
file is the translation file for English.
In order to use a language, set DefaultContentLanguage
to the language code in the configuration file. For example, if you want to use English, set DefaultContentLanguage
to en
.
Currently, the theme supports the following languages:
ar
: Arabicbn
: Bengalica
: Catalande
: Germanel
: Greeken
: Englishes
: Spanishfa
: Persianfr
: Frenchhu
: Hungarianid
: Indonesianit
: Italianja
: Japaneseko
: Koreannl
: Dutchpl
: Polishpt-br
: Portugueseru
: Russianth
: Thaitr
: Turkishuk
: Ukrainianzh-cn
: Chinese (Simplified)zh-hk
: Chinese (Traditional) (Hong Kong)zh-tw
: Chinese (Traditional) (Taiwan)
TIP
PRs for more language support are welcome 😉.