To enable/disable the multi language button in the footer, edit the parameter enableLangChange in params.toml. The default language of this theme is English. If you want to use another language, follow these steps
Make a menu file.
root โโโ config โย ย โโโ _default โย ย โย ย โโโ ... โย ย โย ย โโโ menus.ko.toml1 2 3 4 5 6 7 8 9 10 11 12[[main]] identifier = "about" name = "about" url = "/about/" weight = 1 [[main]] identifier = "archive" name = "archive" url = "/archive/" weight = 2 ...Make a language-code folder. Then make a content file.
root/content/ko/markdown-syntax.md root/content/ko/hugo-blog.md ...I made a
kofolder in thecontentfolder. In that way, we can easily organize our content by language.Make an i18n file.
1 2 3 4 5 6 7 8 9[search-placeholder] other = "๊ฒ์..." [summary-dateformat] other = "2006๋ 01์ 02์ผ" [tags] other = "ํ๊ทธ" ...We already have some i18n files. If there is your language among them, this process can be omitted.
- en
- eo
- fa
- fr
- ko
- zh
Edit config.toml file.
1 2 3defaultContentLanguage = "ko" defaultContentLanguageInSubdir = true hasCJKLanguage = true