-
Notifications
You must be signed in to change notification settings - Fork 343
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
Feature proposal:Hope to increase the resolution of resources.pri in the language resource package #5069
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
none |
Can you help us to understand what specifically you are interested in with this feature request. Are you looking for: Increase the list of Screen Resolutions as available settings, if so what specifically? |
The reason comes from this ----------------------------------------原因来源于此 |
My guess is that this is about automatic support for split resources. Right now, the only way split resources will work is if they are in a resource package or if you manually use the .pri. In an unpackaged context, it feels like only a monolithic .pri file is expected. Suppose you have an unpackaged application with a layout such as: Where the resources were split but the user wanted the extra resources installed. If the user had the DPI Scale set to 150% then scale-150 would be the better match, but MRT Core will only look in MrtTest.pri in this case, so it will never see the extra resources. |
Describe the bug
Feature proposal:Feature proposal:Hope to increase the resolution of resources.pri in the language resource package
----------------------------------
希望能增加对语言资源包的 resources.pri 的解析
目前可以通过
ResourceLoader
API 来读取本地resources.pri
的文件信息,但是部分安装包里面包含语言资源包,里面单独存放了特定语言下的resources.pri
。如果使用makepri.exe
解析,需要使用/ExternalSchema
参数,并添加应用包的resources.pri
才能解析成功。所以希望WASDK
在MRT Core
也能增加相应的功能。----------------------------------
Currently, you can read the local resources.pri file information through the
ResourceLoader
API. However, some installation packages contain language resource packages, which separately storeresources.pri
in a specific language. Ifmakepri.exe
is used for parsing, you need to use the/ExternalSchema
parameter and addresources.pri
of the application package to make the parsing successful. Therefore, it is hoped thatWASDK
can also add corresponding functions inMRT Core
.For example, the simplified Chinese resource file of Notepad and the resource file corresponding to the Notepad installation package
----------------------------------
比如,记事本的简体中文资源文件和记事本安装包对应的资源文件
Steps to reproduce the bug
See description
Expected behavior
See description
Screenshots
See description
NuGet package version
Windows App SDK 1.6.3: 1.6.250108002
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022
Additional context
None
The text was updated successfully, but these errors were encountered: