An error occurred while fetching this tab.
related to MR on JiHu
This MR is to achieve I18n international standardization and add the zh_CN language.
Add devise.zh-cn.yml
The zh_CN.yml
is for zh_CN translation as I18n.
The file can be placed in any directory (including JH) and loaded into the program via I18n.load_path
.
Not only 'JH' needs to implement zh_CN translation, but also the subsequent upstream. So we should put the file in upstream. (According to the official
I18n convention, the file should be placed in the config/locales
directory)
Translation reference
The zh_CN.yml
is translated according to the en.yml
key-value pair format.
And the translation into zh_CN is based on this link: https://gist.github.com/Artoria2e5/6d2a06ca9e92a417afc627b5000f4690#file-devise-zh-cn-yml
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
cc @prajnamas