Skip to content

Commit

Permalink
Use the neutral cultures zh-Hans and zh-Hant
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
baochenw committed Sep 20, 2022
1 parent 8204dd1 commit 6ba268b
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 0 deletions.
File renamed without changes.
File renamed without changes.

0 comments on commit 6ba268b

Please sign in to comment.