Repository navigation
Improve Chinese localization and display adaptation - #843
Closed
haoze-evolluling wants to merge 1 commit into
Closed
haoze-evolluling wants to merge 1 commit into
haoze-evolluling wants to merge 1 commit into
Conversation
- Complete Chinese translations for goto navigation, taskbar menus, file manage, and tooltips - Add baseline fallback keys in en.nss for backward compatibility - Fix submenu grouping in modify.nss for localized environments - Add locale alias support (zh, zh-SG, zh-HK, zh-MO) and two-tier fallback in shell.nss - Add Chinese resource strings and dialogs in Shell.rc - Add dynamic localized text loading and system UI font adaptation in shell.exe
Abdullah-Masood-05
added a commit
to Abdullah-Masood-05/Shell
that referenced
this pull request
Oct 16, 2026
zh-TW had windows_defender="Windows Update"; it is "Windows 安全性". ko had taskbar_Settings as "Task Manager settings"; it is "작업 표시줄 설정". The zh-TW fix comes from upstream PR moudey#843 (haoze-evolluling).
Abdullah-Masood-05
added a commit
to Abdullah-Masood-05/Shell
that referenced
this pull request
Oct 16, 2026
The Pin/Unpin, File manage and Terminal moves named their target menus with
literal English text (menu="Pin/Unpin", "file manage", "Terminal"), but those
menus are titled loc.pin_unpin, loc.file_manage and title.terminal. With any
non-English language file the path no longer matched, so the moved items
(Windows' Copy as path, Customize this folder, Open PowerShell window here,
the pin/unpin items) disappeared. menu= is evaluated as an expression and
compared, case-insensitively, with the menu's normalized title, so the rules
now use the same expressions as the titles.
Pin/unpin items are matched by id instead of find="pin*"/"unpin*", which only
worked with English item names.
shell.dll: a menu= path is normalized like menu titles ('&' accelerators and
trailing dots dropped), so menu=loc.develop ("&Develop") or a translated title
with an accelerator finds its menu too.
Upstream issue moudey#477 and PR moudey#843 (haoze-evolluling).
Abdullah-Masood-05
added a commit
to Abdullah-Masood-05/Shell
that referenced
this pull request
Oct 16, 2026
Only zh-TW and zh-CN had a language file, so zh-HK, zh-MO, zh-SG and plain zh got English. Next to the Norwegian rule: Hong Kong, Macao and zh-Hant-* load zh-TW.nss; every other zh-* (zh-SG, zh-Hans-*, zh) loads zh-CN.nss. The block that shell -config:init adds to an older shell.nss is kept the same. From upstream PR moudey#843 (haoze-evolluling), as a mapping instead of alias files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR improves the Chinese localization experience for Nilesoft Shell while strictly preserving existing code structures, features, and UI styling.
Summary of Changes
1. Language Files & NSS Configurations (imports/lang/)
2. Locale Matching & Fallback (shell.nss)
3. Submenu Grouping Fix (imports/modify.nss)
4. Manager UI & Resource Localization (shell.exe & Shell.rc)