opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Clash for Windows 汉化版,劫持更新后内置更新即可保持汉化
GitHub RepoImpressions2

Project Description

View on GitHub

When Your Favorite Proxy Tool Speaks Your Language

If you've ever used Clash for Windows, you know it's a powerful proxy client—but the interface is entirely in English. For Chinese-speaking users, that's a barrier. You could stumble through the menus, or you could grab a community-made Chinese localization. That's exactly what this project provides: a full Chinese version of Clash for Windows, complete with installers, patches, and translation files.

The repository at github.com/z-siqi/clash-for-windows_chinese is a fork-and-modify effort that takes the original Clash for Windows and swaps in Chinese translations across the app's core files. It's not an official release—the README is upfront about that—but it's a practical solution for anyone who wants their proxy client in their native language.

What It Does

This project delivers three things: a Chinese-translated installer (the .exe setup file), a portable 7z archive version, and language patches you can apply manually. The core of the translation lives in modifications to app.asar, specifically the renderer.js and main.js files inside it. The project also includes a zh-cn.js fix for the Moment.js date library—apparently the Chinese locale had a character swap issue where "后" (after) needed to be "前" (before). Small details like that show the maintainers actually tested the result.

The supported versions span from 0.15.3 up to the latest compatible release. If you use the installer version, here's a neat trick: it hijacks the app's built-in update mechanism. So when you click "update" inside Clash for Windows, it pulls the Chinese version instead of the official English one. That means you don't have to manually re-apply patches after every update—the app keeps itself localized.

The project also documents its own process. The README explains the modification pipeline: which files get changed, what third-party link gets injected (a GitHub repo for attached resources), and how the translation tables are structured. There's even a history of tools used—Notepad++ for manual replacements (now deprecated), then Replace Pioneer for batch processing. It's refreshingly transparent about how the sausage is made.

Why It's Cool

  • The update hijack is clever. Most localization projects give you a one-time patch. This one makes the app perpetually self-localizing through its own update channel. That's a genuinely thoughtful design choice—it means you don't have to babysit the translation after every version bump.

  • Multiple distribution formats. You can grab the full installer, the portable 7z archive, or just the app.asar patch file. The README even warns you not to extract the 7z into your current folder or you'll scatter files everywhere. Practical advice from someone who's clearly done this before.

  • Transparent about modifications. The README lists exactly what's changed in app.asar and what third-party links are injected. There's no mystery meat here. They even point you to the source code for the "Optimize" version if you want to see what's under the hood.

  • Community-driven. The project invites pull requests and flags issues that need help. There's a discussions section for questions and a sponsorship ad (for a proxy service called CUTECLOUD) that keeps the lights on. It's a small but active ecosystem.

  • Honest about limitations. The README has an entire section of disclaimers: this is unofficial, don't report bugs to the original Clash team while using this version, and it explicitly states it provides no support for mainland China users. That's a level of candor you don't always see in open-source projects.

How to Try It

Head over to the releases page and grab the latest version. You have two main options:

  1. Installer: Download Clash.for.Windows.Setup.XX.XX.XX.exe and run it. This gives you the update-hijacking behavior, so future updates stay in Chinese.

  2. Portable archive: Download the Clash.for.Windows-XX.XX.XX-win.7z file. Important: don't extract it into the current folder—extract to a dedicated directory, or you'll end up with Clash files scattered all over your working directory.

If you already have the official Clash for Windows installed and just want the translation, you can grab the app.asar patch and replace the one in your installation directory. The README notes that older versions used a .7z compressed app.asar that you'd extract first—check the release notes for what applies to your version.

Before you download, read the disclaimer section. Using this version means you accept it's unofficial and modified, and you're responsible for how you use it. The project is clear that it's for learning and research purposes only.

Final Thoughts

If you're a Chinese-speaking user of Clash for Windows, this project removes a real friction point. The update-hijacking feature alone is worth the download—it turns a one-time translation into a self-maintaining setup. For everyone else, it's still an interesting example of how a community can take a closed-source Electron app and make it work better for their needs. Just remember it's a modification, not an official release, so use it with that context in mind. The maintainers have done the hard work of making translation sustainable—that's worth a look whether or not you need the Chinese text.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: 68083f4f-bb8d-415d-8d57-dca343d16c21Last updated: August 25, 2026 at 02:45 AM