Add Simplified Chinese localization - #3354
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Language QA update complete: the full Simplified Chinese corpus has received a dedicated review, the fragile UI fragments and framework wording were corrected, and static coverage/token checks pass. The branch now contains commit 12f0eda and is ready for maintainer review and merge into |
places.drawer.on 在 en.yml 中正确加了引号 ('on': 'on'),
但 zh.yml 里写成裸键 on:,会被 YAML 1.1 解析为布尔值 true,
导致 I18n.t('places.drawer.on') 查找失败。
- README.zh-CN.md:完整中文版 README,README.md 顶部加语言切换链接 - docs/zh-CN/:Docker/群晖/K8s 安装指南、反向代理配置、照片 GPS 提取指南的中文翻译 - 对应英文文档顶部加回链,方便互相跳转
# Conflicts: # config/application.rb
Merges dev, keeping pl and ca in available_locales alongside the new zh, and fills the 153 en keys added since the branch was cut — the geocoding and integrations settings, the Video Studio, and the tiled rendering copy. Adds helpers.page_entries_info, which en.yml does not define because kaminari ships the English copy; without it the points page renders a missing translation. Drops date.order from rails.zh.yml: it was the only locale file holding Ruby symbols, and the coverage specs safe_load the whole glob, so it failed the German and Spanish specs rather than its own. Rails already orders year, month, day. Keeps the Place::DEFAULT_NAME sentinel untranslated in the place name lock copy, since a translated one never unlocks the place. Registers zh in the two specs that name every shipped locale, and takes the flag count from available_locales so it cannot drift again.
|
Reviewed your commit One note on the Happy to keep reviewing the Chinese strings you add in future releases — just ping me on the PR. |
Summary
:zhand add complete Simplified Chinese application, Devise, and Rails framework locales.Verification
bytescalar was intentionally upgraded to the currentone/otherschema.git diff --checkpassed.The initial draft was machine-assisted, followed by a dedicated Simplified Chinese linguistic review and static validation. This PR is now ready for maintainer review; please merge it into
devif it fits the project's localization conventions.