Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization features #76

Closed
wants to merge 1 commit into from

Conversation

6get-xiaofan
Copy link

添加本地化功能:
本地化使用第三方库:WPFLocalizeExtension、XAMLMarkupExtensions
说明:
在项目解决方案下添加I18n目录和Utils目录用于本地化功能,其中使用资源文件作为本地化语言文件,使用资源字典(LanguageList.xaml)作为语言索引,实现了程序运行时动态切换语言功能,切换功能入口:设置->启动器->全局设置(此处位置为原代码注释,后续可调整)

语言默认储存在注册表中,键名为language。

目前仅本地化了简体中文、繁体中文和英语,对标题处进行了本地化,后续多国家/地区的本地化需要社区支持。

动画

@tangge233
Copy link
Member

?

@tangge233
Copy link
Member

tangge233 commented Jan 22, 2025

不是……其实有多语言开发完毕的版本……只不过因为合并困难因素暂时没合并到 CE

@Chiloven945
Copy link
Member

Chiloven945 commented Jan 22, 2025

我求你们交pr的时候去看看主线有没有类似的pr……

如果有好的提议可以去那个pr提出,就没必要交ce的pr了()

@6get-xiaofan
Copy link
Author

不是……其实有多语言开发完毕的版本……只不过因为合并困难因素暂时没合并到 CE

我没看............太尴尬了,我去加个群吧,看看后续有啥能pr的
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ 拒绝 / 放弃 此内容不会制作
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants