If you need to build an application that will be used by people in different countries, you may want to have all of it, or at least parts of it, translated. It's not just that, though: you may also want to have decimal numbers and currency symbols presented in a way that users would expect. The process by which an application is made to support different cultures is called globalization, and localization is the process of adapting it to a specific culture—for example, by presenting it with text in a specific language.
ASP.NET Core, like previous versions, fully supports these two entwined concepts by applying a specific culture to a request and letting it flow, and by having the ability to serve string resources according to the language of the requester.
We first need to add support for globalization and localization, and we do this by adding the Microsoft.AspNetCore.Localization.Routing package to the project. As far...