Skip to content

Add Simplified Chinese localization#11452

Open
FyMatt wants to merge 2 commits into
warpdotdev:masterfrom
FyMatt:zh-cn-localization
Open

Add Simplified Chinese localization#11452
FyMatt wants to merge 2 commits into
warpdotdev:masterfrom
FyMatt:zh-cn-localization

Conversation

@FyMatt
Copy link
Copy Markdown

@FyMatt FyMatt commented May 20, 2026

Summary

  • Add an initial Simplified Chinese localization layer for common Warp UI strings.
  • Enable Simplified Chinese only for Chinese locales or explicit environment overrides; English remains the default for other locales.
  • Prefer common Simplified Chinese UI fonts on Windows and add a repository-local Inno Setup Simplified Chinese language file.

Details

The localization layer is wired through shared UI text entry points, including Text, spans/paragraphs, formatted text, menus, buttons, tooltips, action buttons, and editor placeholders.

Simplified Chinese is enabled when:

  • WARP_FORCE_ZH_CN=1 is set.
  • WARP_LOCALE starts with zh.
  • LC_ALL, LC_MESSAGES, or LANG starts with zh.
  • On Windows, the user's default locale name starts with zh.

Testing

  • cargo fmt --all --check
  • cargo check -p warp --bin warp-oss --features gui

cargo check was attempted on Windows and reached dependency build scripts, but the clean checkout currently needs protoc for warp_multi_agent_api:

Could not find `protoc`.

The same localization patch was previously checked and release-built in the source workspace after the local build prerequisites were present.

Issue

Closes #11462

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 20, 2026

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @FyMatt on file. In order for us to review and merge your code, each contributor must visit https://cla.warp.dev to read and agree to our CLA. Once you have done so, please comment @cla-bot check to trigger another check.

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 20, 2026

@FyMatt

This PR is not linked to an issue that is marked with ready-to-implement.

Issue-state enforcement details:

  • Associated same-repo issues checked: none

  • Required readiness label: ready-to-implement

To continue, link this PR to a same-repo issue such as Closes #123 in the PR description, and make sure that issue has ready-to-implement.

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

@FyMatt

This PR is not linked to an issue that is marked with ready-to-implement.

Issue-state enforcement details:

  • Associated same-repo issues checked: none

  • Required readiness label: ready-to-implement

To continue, link this PR to a same-repo issue such as Closes #123 in the PR description, and make sure that issue has ready-to-implement.

Powered by Oz

@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 20, 2026
@cla-bot cla-bot Bot added the cla-signed label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Simplified Chinese localization support

1 participant