Skip to content

[codex] Add Simplified Chinese localization#298

Open
Rivbla wants to merge 1 commit into
JerryZLiu:mainfrom
Rivbla:codex/zh-hans-localization
Open

[codex] Add Simplified Chinese localization#298
Rivbla wants to merge 1 commit into
JerryZLiu:mainfrom
Rivbla:codex/zh-hans-localization

Conversation

@Rivbla

@Rivbla Rivbla commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • Add Simplified Chinese (zh-Hans) localization resources for Dayflow.
  • Register zh-Hans as a known project region.
  • Route common Settings, provider setup, provider cards, storage alerts, and onboarding component strings through localization lookup so the new translations are used instead of falling back to English.

Validation

  • plutil -lint Dayflow/Dayflow.xcodeproj/project.pbxproj Dayflow/Dayflow/Info.plist Dayflow/Dayflow/zh-Hans.lproj/Localizable.strings Dayflow/Dayflow/zh-Hans.lproj/InfoPlist.strings
  • git diff --check
  • swiftc -parse on the touched Swift files

Note

I also attempted a full Xcode build with /Applications/Xcode.app and CODE_SIGNING_ALLOWED=NO, but it timed out after 300s while resolving the Swift Package graph, before compilation began.

@Rivbla Rivbla marked this pull request as ready for review July 4, 2026 12:13

@mu-zi-lee mu-zi-lee left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Chinese translation felt a bit stiff, so I made a few minor tweaks.

"Dayflow will remain open source. We believe in creating open, accessible software for everyone. Dayflow Pro is there for people who want the simplest setup and maximum intelligence." = "Dayflow 会继续保持开源。我们相信应该为每个人创造开放、可访问的软件。Dayflow Pro 面向希望获得最简单设置和最高智能体验的用户。";
"Close" = "关闭";
"How do you feel about Weekly so far?" = "目前你觉得 Weekly 怎么样?";
"A quick answer helps shape where Weekly goes next." = "一个简短回答就能帮助我们决定 Weekly 接下来怎么改进。";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一个简短回答就能帮助我们决定下一步的走向。

"Sign in" = "登录";
"Sign out" = "退出登录";
"Signed in" = "已登录";
"Signed out" = "未登录";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已退出

"Manage local model" = "管理本地模型";
"Upgrade local model" = "升级本地模型";
"Primary provider" = "主供应商";
"Secondary provider" = "备用供应商";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

辅助提供商

"Primary provider" = "主供应商";
"Secondary provider" = "备用供应商";
"PRIMARY" = "主";
"SECONDARY" = "备用";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants