This project demonstrates localization demo. Localization with IStringLocalizer,
Localization with IHtmlLocalizer,
Localization with IViewLocalizer,
Localization using shared resource file
Localization using per class controller
resource file Localization of error messages for a view model Localization of the Display attribute of a model property using prior ASP.NET Core 1.0 resources Localization for enums and enum elements using EnumHelper Localization for Views e.g. View.cshtml View.es-ES.cshtml Example of switching culture using cookie and select input CookieRequestCultureProvider。
Download Get the latest version of the code from here - download https://github.com/feradz/ASPNetCoreLocalization/tree/master/src/LocalizationDemo .