refactor(i18n): use lowercase language codes

Related with this Hugo issue: https://github.com/gohugoio/hugo/issues/7344
This commit is contained in:
Jimmy Cai 2022-03-09 15:04:24 +00:00 committed by GitHub
parent b5d0c5b37d
commit 7d1713d407
5 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ languages:
languageName: English languageName: English
title: Example Site title: Example Site
weight: 1 weight: 1
zh-CN: zh-cn:
languageName: 中文 languageName: 中文
title: 演示站点 title: 演示站点
weight: 2 weight: 2
@ -26,7 +26,7 @@ disqusShortname: hugo-theme-stack
googleAnalytics: googleAnalytics:
# Theme i18n support # Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-CN, zh-TW, es, de, nl, it, th, el, uk, ar # Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
DefaultContentLanguage: en DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] # Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]