Multi language support

August 14, 2022 · 354 words · One minute · hugo ladder Tutorial

This article is about multilingual support.

Available Languages

This theme supports the following languages:

  • English
  • Simplified Chinese

Configure languages

Go to this Hugo documentation page to configure one or multiple languages for your website.

Translation File Example

[blog]
one = "blog"
other = "blog"

[tags]
one = "tag"
other = "tags"

[archive]
one = "archive"
other = "archive"

[series]
one = "series"
other = "series"

[reading_time]
one = "One minute"
other = "{{ .Count }} min"

[word_count]
one = "one word"
other = "{{ .Count }} words"

[related_resources]
other = "Related Resources"

[featured_posts]
one = "Featured Posts"
other = "Featured Posts"
[blog]
one = "文章"
other = "文章"

[tags]
one = "分类"
other = "分类"

[archive]
one = "历史文章"
other = "历史文章"

[series]
one = "系列文章"
other = "系列文章"

[reading_time]
one = "1 分钟"
other = "{{ .Count }} 分钟"

[word_count]
one = "字"
other = "{{ .Count }} 字"

[related_resources]
one = "相关系列文章推荐"
other = "相关系列文章推荐"

[featured_posts]
one = "推荐阅读"
other = "推荐阅读"