rime / rime/squirrel

[Bug] 安装摘要(conclusion)的本地化不生效

Open
#1,152 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

簡要描述 Bug:
9b012e80f0313d8bc1f3137e6ebf8148ca7baf45 中为 conclusion 增加了本地化,但未生效,最终安装成功界面显示为英文。

預期行爲:

安装成功界面显示 package/zh_CN.lproj/conclusion.html 中的中文摘要

實際行爲:

安装成功界面显示 package/conclusion.html 中的英文摘要

環境

  • 系統版本: macOS 15.7,首选语言为简体中文
  • 鼠鬚管版本: 2158538755542b11964655e2f9606ba4a066edfe
  • 方案: (如果你用的是自定義或第三方的方案,且該 Bug 可能與方案有關,請提供方案鏈接)
  • 使用了 Lua: (用了甚麼 Lua 腳本?)
  • 與其它 App 有關: (哪個 App?)

我試過:

  • 我換了內置的方案(如朙月拼音)後問題仍存在
  • 我找到了導致問題出現的具體設置: (何設置?)
  • 這是個新 Bug,以前真的沒有
  • 我對原因有一些猜想:
  • 在 Issues(包括已關閉的 Issue) 中未找到相關的報告

我尝试了删除 package/conclusion.html ,仅保留*.lproj中的文件,结果就可以显示中文摘要了。

此外,我注意到打包器自动将目录名由zh_CN.lproj改为了zh-Hans.lproj等。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting how the installer selects between package/conclusion.html and package/zh_CN.lproj/conclusion.html, then trace the packager’s renaming of zh_CN.lproj to zh-Hans.lproj. Done means a successful installation on macOS with Simplified Chinese selected displays the localized Chinese conclusion instead of the English one.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.