Skip to content
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

Closed
DamianEdwards opened this issue Dec 10, 2015 · 1 comment

Comments

@DamianEdwards
Copy link
Member

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".

@DamianEdwards
Copy link
Member Author

This was automatically covered by aspnet/Localization#167

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants