Skip to content

gpeipman/AspNetCoreLocalization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AspNetCoreLocalization

This is sample solution for my blog post ASP.NET Core: Simple localization and language based URL-s. I have got many requests to publish working sample and here it is.

Some notes

  • Current language and redirect to default language are handled in BaseController class
  • Startup class initializes localization support, don't skip it
  • Check the Index view of Home controller to see how view is localized
  • About view shows how to use custom localizer
  • Contacts view shows how to use culture based views
  • Check layout page to see how to define routes with language token

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published