Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

HtmlLocalizer<T> should look for resource name with or without the application name prefix #3717

@DamianEdwards

Description

@DamianEdwards

Same as aspnet/Localization#167

Make HtmlLocalizer<T> use a resource base name without the application name prefix, then look for it with the prefix. It should of course still honor the value of LocalizationOptions.ResourcesPath too.

e.g. where T is MyApp.Controllers.HomeController, HtmlLocalizer<HomeController> would first look for a resource with base name "MyApp.Controllers.HomeController", and then "Controllers.HomeController".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions