warp icon indicating copy to clipboard operation
warp copied to clipboard

Instructions on warp's support for Chinese

Open nu0l opened this issue 7 months ago • 5 comments

Pre-submit Checks

Describe the solution you'd like?

hello, could the development team please report on the progress of warp's support for Chinese? I have repeatedly received the #1194 message. I find that it's been a long time and the official seems to have no plan to support Chinese. If there is no plan, please close this question. Don't waste the time of global developers. Thank you

Is your feature request related to a problem? Please describe.

hello, could the development team please report on the progress of warp's support for Chinese? I have repeatedly received the #1194 message. I find that it's been a long time and the official seems to have no plan to support Chinese. If there is no plan, please close this question. Don't waste the time of global developers. Thank you

Additional context

hello, could the development team please report on the progress of warp's support for Chinese? I have repeatedly received the #1194 message. I find that it's been a long time and the official seems to have no plan to support Chinese. If there is no plan, please close this question. Don't waste the time of global developers. Thank you

Operating system (OS)

macOS

How important is this feature to you?

5 (Can't work without it!)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

Ignore

nu0l avatar Apr 29 '26 02:04 nu0l

@Manoj7ar

Agree this should stay anchored to #1194. A useful public clarification is that “Chinese support” spans separate tracks, not a single implementation item:

  • UI localization/i18n: the app-language-switching request tracked by #1194.
  • IME/input composition: support for entering Chinese text through platform input methods.
  • CJK terminal rendering: glyph fallback, wide-character layout, cursor movement, and mixed-width correctness.

Based on the current code, Warp has existing plumbing for IME composition and CJK/wide-character terminal rendering, while app-level UI localization remains the canonical #1194 feature request. Posting a short status matrix on #1194 for those three layers would likely reduce repeated “is Chinese supported yet?” duplicates.

Reasoning

Used response mode because #9357 is already labeled triaged + duplicate and the @oz-agent mention asks for a focused follow-up response rather than a fresh lifecycle triage.

Duplicate/context: the reporter explicitly cites #1194. gh issue view 1194 --repo warpdotdev/warp shows #1194 is open, titled “Application language switch / i18n Support multiple languages and localizations”, and labeled enhancement, triaged, ready-to-spec, area:ui-framework. That makes #1194 the appropriate canonical thread for UI localization/i18n.

Implementation-scope evidence from the local codebase:

  • UI localization: a targeted search for i18n, localization, gettext, and language-selector terminology did not reveal a general app UI localization/string-catalog framework in the relevant app/UI code. This supports treating app language switching as the #1194 feature request, not as already implemented.
  • IME/input composition: crates/warpui_core/src/event.rs:188 defines TypedCharacters as a String because CJK IME output can contain multiple characters, and also defines SetMarkedText / ClearMarkedText; crates/warpui/src/windowing/winit/event_loop/mod.rs:1485 handles winit IME Enabled/Preedit/Commit/Disabled events and :1755 updates the IME candidate-window position; crates/warpui/src/platform/mac/objc/host_view.m:384 implements NSTextInputClient with marked text / insertText paths; app/src/editor/view/model/mod.rs:1208 maintains marked-text state; app/src/editor/view/marked_text_tests.rs:18 simulates committing Chinese text (你好, 熊).
  • Current rollout nuance for IME: crates/warp_features/src/lib.rs:206 defines ImeMarkedText; it is in dogfood flags around :874, and release flags around :941 enable marked text only on macOS via #[cfg(target_os = "macos")], so Linux/Wayland IME should not be conflated with app localization status.
  • CJK/wide-character rendering: app/src/terminal/model/grid/ansi_handler.rs:188 uses Unicode width to place wide characters and spacer cells; app/src/terminal/grid_renderer.rs:546 and :1165 render marked text while accounting for wide characters; app/src/terminal/model/grid/grapheme_cursor.rs:23 documents cursor behavior around wide-char spacer cells; app/src/terminal/model/grid/grid_handler_test.rs:1291 covers Chinese text byte offsets (echo 汉字 yo).
  • Font fallback/rendering nuance: crates/warpui/src/windowing/winit/fonts.rs:306 uses cosmic-text font fallback with locale currently hardcoded to en, so CJK rendering correctness can still have font fallback/metrics-specific issues even where Chinese terminal text displays.

No GitHub labels/comments were changed.

This is my automated analysis and may be incorrect. A maintainer will verify the details.

Powered by Oz

warp-for-oss[bot] avatar Apr 29 '26 02:04 warp-for-oss[bot]

@oz-agent I think this should stay anchored to the canonical i18n issue, but one useful thing to clarify publicly is implementation scope.

“Support Chinese” is actually at least three separate layers:

  1. UI localization (i18n)
  • menus
  • settings
  • onboarding
  • system messages
  1. Input method support (IME) especially for Linux/Wayland (composition, candidate windows, focus handling)

  2. Text rendering correctness

  • CJK glyph fallback
  • font fallback chains
  • line height / glyph metrics
  • mixed-width cursor movement

Those have different engineering paths.

For example, Warp may already render Chinese text correctly in terminal content (layer 3), while app-level localization (layer 1) is still missing.

A useful maintainer update on the canonical issue could simply clarify status per layer:

Localization: planned / not planned / backlog
IME support: planned / in progress / blocked
CJK rendering: supported / partial / known issues

That would reduce repeated “is Chinese supported yet?” issues and make expectations much clearer.

Manoj7ar avatar Apr 29 '26 17:04 Manoj7ar

I believe that for most users, having i18n just for the UI layer (e.g., panel options, settings, excluding AI agents or terminal outputs) would be more than enough for now. It's perfectly acceptable to have partial translations and just use English as a fallback. We can always take an iterative approach and handle the more in-depth technical details in future releases.

oneisall8955 avatar Apr 30 '26 04:04 oneisall8955

I think we can start from the Settings panel. Users can set Chinese in the Settings panel, making all the setting functions clear at a glance. For some Chinese people who are not good at English, they can quickly get started with various functions of warp and improve work efficiency. Also, it should be noted that currently, a large number of mac users in China have begun to migrate to the warp terminal.

nu0l avatar Apr 30 '26 09:04 nu0l

Hey @iak3ec, thanks for bringing this up and for sharing your perspective on how Chinese support would help the community. This one overlaps with #1194, which is where we're tracking app-level language/i18n support — we're going to close this out and keep the conversation there. Feel free to add your thoughts and +1 over on that thread!

leesa-ui-w avatar Jul 20 '26 19:07 leesa-ui-w