Skip to content
Ferad Zyulkyarov edited this page Sep 11, 2016 · 6 revisions

ASP.NET Core 1.0 Localization Demo for Web Applications

This project demonstrates localization demo.

  1. Localization with IStringLocalizer
  2. Localization with IHtmlLocalizer
  3. Localization with IViewLocalizer
  4. Localization using shared resource file
  5. Localization using per class controller resource file
  6. Localization of error messages for a view model
  7. Localization of the Display attribute of a model property using prior ASP.NET Core 1.0 resources
  8. Localization for enums and enum elements using EnumHelper
  9. Localization for Views e.g. View.cshtml View.es-ES.cshtml
  10. Example of switching culture using cookie and select input CookieRequestCultureProvider

Download

Get the latest version of the code from here - download

Clone this wiki locally