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

日期控件切换语言,一半中文一半英文 #1669

Open
linshuchang opened this issue Nov 15, 2024 · 4 comments
Open

日期控件切换语言,一半中文一半英文 #1669

linshuchang opened this issue Nov 15, 2024 · 4 comments

Comments

@linshuchang
Copy link

Describe the bug

日期控件切换语言,一半中文一半英文

Steps to reproduce the bug

1、通过安装语言包2、ConfigHelper.Instance.SetLang(langName);

Expected behavior

No response

Screenshots

PixPin_2024-11-15_14-34-46

NuGet package version

None

IDE

No response

Framework type

.Net 6.0

Windows version

No response

Additional context

No response

@whale-fall-wh
Copy link

碰到类似的问题, 3.2 版本正常, 编译后会生成多语言资源文件, 最新版本的,不会生成资源文件,nuget安装多语言包后也没有自动生成
image

@whale-fall-wh
Copy link

手动把多语言资源文件包里的资源文件都复制到生成目录下,也是正常工作的。

通过nuget安装了HandyControl.Lang.en 需要什么设置才能生成en资源文件夹?

@linshuchang
Copy link
Author

linshuchang commented Dec 18, 2024 via email

@whale-fall-wh
Copy link

我又测试了几次,结果如下:

  1. 直接创建framework 472 桌面程序,下载最新的HandyControl 和 HandyControl.Lang.en后,编译后没有生成对应的en资源文件
    image
    image
    image

  2. 创建 Net 6 桌面程序, 然后TargetFramework 改成 net472, 清理程序,卸载再重新加载项目后,下载最新的HandyControl 和 HandyControl.Lang.en后,编译能生成对应的en资源文件
    image

大概是这边有问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants