Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to use url to control Globalization and localization in .net core?

$
0
0

I have a project which must use url to control Globalization and localization.

I used Globalization and localization as https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-2.1 made a multi language website yet.

Now if my website address is http://localhost:8080

I wants to be that when I access http://localhost:8080/en ,it will display English.

And when I access http://localhost:8080/zh-hans ,it will display Chinese.

I am not only a beginner but also do not know how to use url to control that.

 Would you like to tell me how to do it?Thank you.


Viewing all articles
Browse latest Browse all 9386

Trending Articles