Simplified Chinese frontend localization prototype for Portmaster
Hello Portmaster maintainers and community,
I have created a working Simplified Chinese frontend localization prototype based on Portmaster v2.2.1.
The localized frontend has been successfully compiled and tested on Windows. It loads correctly after replacing the original frontend resource package, portmaster.zip.
This is an unofficial community localization prototype, not an official Portmaster release.
Current localization scope
The first-stage version mainly translates the Angular frontend, including:
- Main navigation and tooltips
- Application list and application details
- Network Activity page
- Connection filters, sorting and grouping controls
- Connection details and common status labels
- Help and Support pages
- SPN introduction and onboarding pages
- Common dialogs, buttons and menu items
- Relative-time labels
- Part of the dashboard and notification interface
- Simplified Chinese font fallback and layout adjustments
The tested pages load without visible encoding errors or major layout problems.
What was not modified
This localization does not modify:
portmaster-core.exe
portmaster-kext.sys
- Windows network filtering drivers
- Firewall behavior
- DNS filtering logic
- SPN routing logic
- Network rules or security decisions
The current changes are mainly limited to:
The goal of this first stage was to localize the user interface without changing Portmaster's networking and security core.
Known limitations
Some interface text is still displayed in English because it is dynamically provided by the Portmaster core or desktop shell.
Examples include:
- Global setting names and descriptions
- Some application setting names
- Core-generated notifications and error messages
- Tray menu items
- Some dynamic connection labels
- Some country and network status names
- A few remaining frontend strings
Therefore, this is currently a frontend localization prototype, rather than a complete multilingual implementation.
Build result
The localized frontend was successfully built with the existing Portmaster Angular build process.
The generated resource package was produced at:
packaging/windows/dev_helpers/dist/portmaster.zip
The compiled package has been tested on Windows with Portmaster v2.2.1 and is working correctly.
Files attached
The following files are attached for testing, review and collaboration:
-
Portmaster-2.2.1-zh-CN-stage1.patch
Git patch containing the localization changes.
-
Portmaster-2.2.1-zh-CN-stage1-patch.zip
Source patch and localization documentation.
-
Portmaster-zh-CN-v2.2.1-stage1-test.zip
Test package containing:
portmaster.zip
README-zh-CN.txt
SHA256.txt
The compiled package is provided only for testing. Developers can review the patch and build the frontend independently.
Screenshots
The screenshots below show the current Simplified Chinese interface running on Windows.
Portmaster-2.2.1-zh-CN-stage1.patch
Portmaster-2.2.1-zh-CN-stage1-patch.zip
Portmaster-zh-CN-v2.2.1-stage1-test.zip
Installation for testing
Important: This test package is intended for Portmaster v2.2.1. Back up the original file before testing.
-
Completely shut down Portmaster.
-
Extract Portmaster-zh-CN-v2.2.1-stage1-test.zip.
-
Back up the original file:
C:\Program Files\Portmaster\portmaster.zip
-
Copy the extracted localized portmaster.zip into the Portmaster installation directory and replace the original file.
-
Restart Portmaster.
To restore the official English interface, completely shut down Portmaster and restore the original portmaster.zip backup.
Goals of this issue
I am publishing this prototype to:
- Ask whether the maintainers are interested in official Simplified Chinese support.
- Collect feedback on translation quality and terminology.
- Invite Chinese-speaking developers and translators to participate.
- Identify remaining frontend strings and layout issues.
- Discuss whether Portmaster plans to introduce a reusable i18n architecture.
- Understand the preferred structure for a future pull request.
I understand that directly replacing English strings is not the ideal long-term architecture.
If the maintainers are interested, I would be happy to help reorganize this work into a proper localization system, for example:
with language selection, persistence, fallback behavior and reusable translation keys.
Disclaimer
This is an unofficial community localization project.
It is not affiliated with, endorsed by, sponsored by or maintained by the official Portmaster project or its maintainers.
Portmaster and related names and logos belong to their respective owners.
Thank you for developing Portmaster. It is an excellent and powerful application, and I hope this localization work can make it more accessible to Chinese-speaking users.
中文说明
这是一个基于 Portmaster v2.2.1 制作的非官方简体中文前端汉化原型。
目前中文版已经在 Windows 上成功编译并完成实际运行测试。导航栏、网络活动、应用详情、帮助页面、SPN 页面、常用按钮、筛选菜单和部分提示内容已经完成汉化。
本次修改主要位于:
本次汉化没有修改:
- 网络过滤驱动
- 防火墙核心
- DNS 过滤逻辑
- SPN 路由逻辑
- Portmaster 的网络规则和安全判断
目前仍有部分英文来自 portmaster-core.exe 或桌面外壳动态提供,例如全局设置名称、部分通知、托盘菜单和动态状态文字。
发布这个 Issue 的目的,是展示当前成果、征求官方意见,并邀请开发者和翻译者共同参与后续完善。
希望未来能够在官方建议下,将当前原型进一步改造成正规的 i18n 多语言架构,而不是长期采用硬编码中文的方式。
Simplified Chinese frontend localization prototype for Portmaster
Hello Portmaster maintainers and community,
I have created a working Simplified Chinese frontend localization prototype based on Portmaster v2.2.1.
The localized frontend has been successfully compiled and tested on Windows. It loads correctly after replacing the original frontend resource package,
portmaster.zip.This is an unofficial community localization prototype, not an official Portmaster release.
Current localization scope
The first-stage version mainly translates the Angular frontend, including:
The tested pages load without visible encoding errors or major layout problems.
What was not modified
This localization does not modify:
portmaster-core.exeportmaster-kext.sysThe current changes are mainly limited to:
The goal of this first stage was to localize the user interface without changing Portmaster's networking and security core.
Known limitations
Some interface text is still displayed in English because it is dynamically provided by the Portmaster core or desktop shell.
Examples include:
Therefore, this is currently a frontend localization prototype, rather than a complete multilingual implementation.
Build result
The localized frontend was successfully built with the existing Portmaster Angular build process.
The generated resource package was produced at:
The compiled package has been tested on Windows with Portmaster v2.2.1 and is working correctly.
Files attached
The following files are attached for testing, review and collaboration:
Portmaster-2.2.1-zh-CN-stage1.patchGit patch containing the localization changes.
Portmaster-2.2.1-zh-CN-stage1-patch.zipSource patch and localization documentation.
Portmaster-zh-CN-v2.2.1-stage1-test.zipTest package containing:
portmaster.zipREADME-zh-CN.txtSHA256.txtThe compiled package is provided only for testing. Developers can review the patch and build the frontend independently.
Screenshots
The screenshots below show the current Simplified Chinese interface running on Windows.
Portmaster-2.2.1-zh-CN-stage1.patch
Portmaster-2.2.1-zh-CN-stage1-patch.zip
Portmaster-zh-CN-v2.2.1-stage1-test.zip
Installation for testing
Completely shut down Portmaster.
Extract
Portmaster-zh-CN-v2.2.1-stage1-test.zip.Back up the original file:
Copy the extracted localized
portmaster.zipinto the Portmaster installation directory and replace the original file.Restart Portmaster.
To restore the official English interface, completely shut down Portmaster and restore the original
portmaster.zipbackup.Goals of this issue
I am publishing this prototype to:
I understand that directly replacing English strings is not the ideal long-term architecture.
If the maintainers are interested, I would be happy to help reorganize this work into a proper localization system, for example:
with language selection, persistence, fallback behavior and reusable translation keys.
Disclaimer
This is an unofficial community localization project.
It is not affiliated with, endorsed by, sponsored by or maintained by the official Portmaster project or its maintainers.
Portmaster and related names and logos belong to their respective owners.
Thank you for developing Portmaster. It is an excellent and powerful application, and I hope this localization work can make it more accessible to Chinese-speaking users.
中文说明
这是一个基于 Portmaster v2.2.1 制作的非官方简体中文前端汉化原型。
目前中文版已经在 Windows 上成功编译并完成实际运行测试。导航栏、网络活动、应用详情、帮助页面、SPN 页面、常用按钮、筛选菜单和部分提示内容已经完成汉化。
本次修改主要位于:
本次汉化没有修改:
目前仍有部分英文来自
portmaster-core.exe或桌面外壳动态提供,例如全局设置名称、部分通知、托盘菜单和动态状态文字。发布这个 Issue 的目的,是展示当前成果、征求官方意见,并邀请开发者和翻译者共同参与后续完善。
希望未来能够在官方建议下,将当前原型进一步改造成正规的 i18n 多语言架构,而不是长期采用硬编码中文的方式。