diff options
Diffstat (limited to 'docs/multilingual-mode.md')
-rw-r--r-- | docs/multilingual-mode.md | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/docs/multilingual-mode.md b/docs/multilingual-mode.md new file mode 100644 index 0000000..8384e6d --- /dev/null +++ b/docs/multilingual-mode.md @@ -0,0 +1,73 @@ +# Multilingual-Mode + +* [Available Languages](#available-languages) +* [Configure Languages](#configure-languages) +* [Translation File Example](#translation-file-example) + +## Available Languages + +This theme supports the following languages: + +- Arabic +- Bengali +- Czech +- German +- English +- Spanish +- Finnish +- French +- Hebrew +- Hindi +- Hungarian +- Italian +- Japanese +- Malay +- Dutch +- Polish +- Brazilian Portuguese +- Romanian +- Russian +- Swedish +- Slovak +- Turkish +- Simplified Chinese +- Taiwan Chinese + +## Configure languages + +Go to [this Hugo documentation page](https://gohugo.io/content-management/multilingual/#configure-languages) to configure one or multiple languages for your website. + +## Translation File Example + +```toml +[category] +other = "category" + +[tag] +other = "tag" + +[series] +other = "series" + +[author] +other = "author" + +[reading_time] +one = "One-minute read" +other = "{{ .Count }}-minute read" + +[page_not_found] +other = "Page Not Found" + +[page_does_not_exist] +other = "Sorry, this page does not exist." + +[head_back] +other = "You can head back to <a href=\"{{ . }}\">homepage</a>." + +[powered_by] +other = "Powered by" + +[see_also] +other = "See also in" +``` |