How to use localization in C#

后端 未结 9 2727
栀梦
栀梦 2020-11-22 02:59

I just can\'t seem to get localization to work.

I have a class library. Now I want to create resx files in there, and return some values based on the threa

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 03:16

    In my case

    [assembly: System.Resources.NeutralResourcesLanguage("ru-RU")]
    

    in the AssemblyInfo.cs prevented things to work as usual.

提交回复
热议问题