From 51140a802646c3507436c97d39c8928c54ad701c Mon Sep 17 00:00:00 2001 From: Hsin-Hsiang Peng Date: Tue, 4 May 2021 03:17:44 +0800 Subject: [PATCH] add Traditional Chinese i18n translation (#335) Add the Traditional Chinese i18n translation for language code "zh-TW". Ref: https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303 --- i18n/zh-TW.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 i18n/zh-TW.yaml diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml new file mode 100644 index 0000000..7ed7f3a --- /dev/null +++ b/i18n/zh-TW.yaml @@ -0,0 +1,20 @@ +- id: Search + translation: 搜索 + +- id: Edit this page + translation: 編輯頁面 + +- id: Last modified by + translation: 最後修改者 + +- id: Expand + translation: 展開 + +- id: bookSearchConfig + translation: | + { + encode: false, + tokenize: function(str) { + return str.replace(/[\x00-\x7F]/g, '').split(''); + } + }