Problem:
Refer to https://github.com/dotnet/msbuild/issues/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.
Fixes #497
Problem: Refer to https://github.com/dotnet/msbuild/issues/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.