You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
ResourceManagerStringLocalizerFactory should look for resource name without the application name prefix on the type name when Resources path is set
#167
Closed
DamianEdwards opened this issue
Dec 10, 2015
· 0 comments
When LocalizationOptions.ResourcesPath is set, make ResourceManagerStringLocalizerFactory use a resource location without the application name prefix.
e.g. where location is MyApp.Controllers.HomeController and LocalizationOptions.ResourcesPath is "Resources", ResourceManagerStringLocalizerFactory would look for a resource with base name "MyApp.Resources.Controllers.HomeController".
The text was updated successfully, but these errors were encountered:
…se name:
- Only applies when LocalizationOptions.ResourcesPath is set
- #167
DamianEdwards
changed the title
StringLocalizer<T> should look for resource name with or without the application name prefix
ResourceManagerStringLocalizerFactory should look for resource name without the application name prefix on the type name when Resources path is set
Dec 16, 2015
- IHtmlLocalizer no longer derives from IStringLocalizer
- IHtmlLocalizer indexer now returns LocalizedHtmlString
- IHtmlLocalizer has GetString methods now that act the same as IStringLocalizer.GetString
- Made LocalizedHtmlString a struct to match LocalizedString
- Updated samples in response to aspnet/Localization#167
- Fixes some doc comments
- Fixed tests
- #3716
- IHtmlLocalizer no longer derives from IStringLocalizer
- IHtmlLocalizer indexer now returns LocalizedHtmlString
- IHtmlLocalizer has GetString methods now that act the same as IStringLocalizer.GetString
- Made LocalizedHtmlString a struct to match LocalizedString
- Updated samples in response to aspnet/Localization#167
- Rename "ancestor" to "parent" for loc API
- Fixes some doc comments
- Fixed tests
- #3716
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When
LocalizationOptions.ResourcesPath
is set, makeResourceManagerStringLocalizerFactory
use a resource location without the application name prefix.e.g. where
location
isMyApp.Controllers.HomeController
andLocalizationOptions.ResourcesPath
is "Resources",ResourceManagerStringLocalizerFactory
would look for a resource with base name "MyApp.Resources.Controllers.HomeController".The text was updated successfully, but these errors were encountered: