Add i18n support for translation of strings

* Also add Simplified Chinese translations
* See #3
This commit is contained in:
Track3 committed 2018-12-14 15:17:48 +08:00
1 parent c128b75243
commit 8711c169be
5 files changed
+56 -7

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# Translations for English
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# 404.html
#
[notFound]
other = "Oops, page not found…"
[home]
other = "Home"
[archives]
other = "Archives"
# posts/single.html
#
[wordCount]
other = "{{ .WordCount }} Words"
[newer]
other = "Newer"
[older]
other = "Older"
+24
View File
@@ -0,0 +1,24 @@
# Translations for Simplified Chinese - 简体中文
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# 404.html
#
[notFound]
other = "糟糕,您要访问的页面不存在……"
[home]
other = "主页"
[archives]
other = "归档"
# posts/single.html
#
[wordCount]
other = "{{ .WordCount }} 字"
[newer]
other = "新"
[older]
other = "旧"