RSSNext / Follow

🧡 Follow your favorites in one inbox
https://follow.is
GNU General Public License v3.0
19.02k stars 779 forks source link

The Chinese language pack cannot be loaded #1772

Open MreAtKC opened 1 week ago

MreAtKC commented 1 week ago

Describe the bug

Image Image

完全无法加载出中文语言包

Feed Info

使用 Follow-0.2.3-beta.0-windows-x64.exe 和之前的每一个版本(只尝试过非预发行)也一直是完全无法加载出中文语言包

Reproduction Video

No response

Environment

版本 Windows 10 家庭中文版 版本号 22H2 安装日期 ‎2020/‎8/‎7 操作系统内部版本 19045.4780 体验 Windows Feature Experience Pack 1000.19060.1000.0

Validations

Contributions

linear[bot] commented 1 week ago

FOL-1041 中文语言包无法加载

github-actions[bot] commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Describe the bug

Image Image

Completely unable to load the Chinese language pack

Feed Info

Use Follow-0.2.3-beta.0-windows-x64.exe and every previous version ( I have only tried non-pre-release) and it has always been completely unable to load the Chinese language pack.

Reproduction Video

No response

Environment

Version Windows 10 Home Chinese Edition Version number 22H2 Installation date ‎2020/‎8/‎7 OS build 19045.4780 Experience Windows Feature Experience Pack 1000.19060.1000.0

Validations

Contributions

Innei commented 4 days ago

I tried switching to Chinese on Windows, and everything seemed normal. Have you tried reinstalling the app?

MreAtKC commented 4 days ago

Image @Innei 我重新安装了Follow的Windows APP,但这并没有产生任何作用

我查阅了部分代码,看到了这个注释: /**

Innei commented 4 days ago

en-US.pak 是 electron 的语言支持,只要保留一个就好了。Follow 现在采用的是 renderer 层的 i18n 不依赖 electron 的 pak

github-actions[bot] commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

en-US.pak is the language support of electron, just keep one. Follow now uses i18n in the renderer layer and does not rely on electron's pak

Innei commented 4 days ago

清除一下 LocalStorage 试试

github-actions[bot] commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Clear LocalStorage and try

MreAtKC commented 3 days ago

清除一下 LocalStorage 试试

这并没有产生作用,而且在我尝试过的两台Windows手提电脑上都出现了只能加载部分语言包的情况 例如某些关键词(Eg. 今天/昨晚)和最小化上下文菜单正常翻译,某些关键词(Eg. 今天/昨晚)在重启应用后失效

github-actions[bot] commented 3 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Try clearing LocalStorage

This didn't work, and only some of the language packs could be loaded on both Windows laptops I tried. For example, some keywords (Eg. today/last night) and the minimized context menu are translated normally, and some keywords (Eg. today/last night) are invalid after restarting the application

Innei commented 3 days ago

切换到其他语言也是这样吗

github-actions[bot] commented 3 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Is this the same when switching to other languages?

MreAtKC commented 2 days ago

切换到其他语言也是这样吗

是的

github-actions[bot] commented 2 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Is this the same when switching to other languages?

Yes