Skip to content

Metetron/AspNetCore3.1-Localization-Issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AspNetCore3.1-Localization-Issue

Project for displaying the issue with IStringLocalizer

Problem description

When an IStringLocalizer is injected into a Razor page or a controller, the localizer does not find the corresponding resources. Instead only the key is displayed in the rendered views.

Sample project

This repository contains three projects:

  • Localization_Version_2_2: Project containing the source code that worked with ASP.Net Core 2.2
  • Localization_Version_3_1: Project containing the source code that does not work anymore when targeting ASP.Net Core 3.1
  • Workaround: Contains a workaround suggested here dotnet/aspnetcore#17733 (comment)

About

Project for displaying the issue with IStringLocalizer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published