Add Chinese localization (#471)

* add zh-CN.yml for chinese

* The files appear to use CRLF line endings instead of LF (Unix-style).

* Add the missing entries to the zh-CN.yml file and include the Simplified Chinese option.

* Fix grammatical errors

Signed-off-by: jiang123574 <jiang123574@163.com>

* Update languages_helper.rb

Signed-off-by: jiang123574 <jiang123574@163.com>

* Update 'SimpleFin' to 'SimpleFIN' in translations

Signed-off-by: jiang123574 <jiang123574@163.com>

* update zh-CN.yml

* update zh-CN.yml

* add new zh-CN.yml

* CodeRabbit comments

* Enable Banking i18n

---------

Signed-off-by: jiang123574 <jiang123574@163.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
jiang123574
2025-12-23 18:21:53 +08:00
committed by GitHub
parent 5b5d25457f
commit 3b8888c8de
68 changed files with 2179 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ module LanguagesHelper
tr: "Turkish",
uk: "Ukrainian",
vi: "Vietnamese",
'zh-CN': "Chinese (Simplified)",
'zh-CN': "简体中文",
'zh-TW': "Chinese (Traditional)",
af: "Afrikaans",
az: "Azerbaijani",
@@ -162,7 +162,8 @@ module LanguagesHelper
"nb", # Norwegian Bokmål - 57 translation files
"ca", # Catalan - 57 translation files
"ro", # Romanian - 62 translation files
"pt-BR" # Brazilian Portuguese - 60 translation files
"pt-BR", # Brazilian Portuguese - 60 translation files
"zh-CN" # Chinese (Simplified) - 59 translation files
].freeze
COUNTRY_MAPPING = {