This is a demo web application for the
“ASP.NET Core Culture Route Parameter”
post on the Dmitry Sikorsky’s blog.
It shows how to specify culture as the URL segment using the route parameter by overriding the
DetermineProviderCultureResult
method of the RequestCultureProvider
class.
The result looks like this:
ASP.NET Core Culture Route Parameter
- Run the application.
- Change the culture segment in the URL.
- Check the current culture and the UI culture in the view.