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

Use the neutral cultures zh-Hans and zh-Hant #508

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

baochenw
Copy link

Fixes #497

Problem:
Refer to dotnet/msbuild#3897 When building with dotnet cli, certain cultures cannot be utilized for resource localization, such as getting localized strings. This impacts both the build process (e.g., identifying and processing resource files) and the lookup of resources at runtime. For example: MyStrings.zh-TW.resx will not have a resource assembly created.

Solution:
This change renames all *.zh-CN.resx to *.zh-Hans.resx and *.zh-TW.resx to *.zh-Hant.resx.

Test Done:
Local build with dotnet cli and verified chinese assemblies are created.

baochenw and others added 2 commits September 20, 2022 10:09
Problem:
Refer to dotnet/msbuild#3897
When building with dotnet cli, certain cultures cannot be utilized for resource localization, such as getting localized strings. This impacts both the build process (e.g., identifying and processing resource files) and the lookup of resources at runtime. For example: MyStrings.zh-TW.resx will not have a resource assembly created.

Solution:
This change renames all *.zh-CN.resx to *.zh-Hans.resx and *.zh-TW.resx to *.zh-Hant.resx.

Test Done:
Local build with dotnet cli and verified chinese assemblies are created.
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

Successfully merging this pull request may close these issues.

There are no chinese resource assemblies in the latest 0.9.6 version
1 participant