Cannot set default and only culture in ASP.Net Core app

后端 未结 1 1794
后悔当初
后悔当初 2021-01-19 02:32

I\'m working on Polish operating system:

In my Statup.csclass I have following code

        // Configure the localization options
               


        
相关标签:
1条回答
  • 2021-01-19 02:41

    There is one important thing, not mentioned in documentation. UseRequestLocalization has to be placed before UseMvc, mine was below.

    0 讨论(0)
提交回复
热议问题