To enable/disable the language translation 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.toml
1 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 ...
config/_default/menus.ko.toml
-
Make a content file. Add your language code before the md extension.
hugo new about/index.ko.md hugo new posts/markdown-syntax.ko.md ...
-
Make an i18n file.
1 2 3 4 5 6 7 8 9
[search-placeholder] other = "κ²μ..." [summary-dateformat] other = "2006λ 01μ 02μΌ" [tags] other = "νκ·Έ" ...
i18n/ko.toml
-
Edit config.toml file.
1 2 3
defaultContentLanguage = "ko" defaultContentLanguageInSubdir = true hasCJKLanguage = true