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.

ViewLocalizer should look for resource name with the application name prefix when LocalizationOptions.ResourcesPath is not set #3718

Closed
@DamianEdwards

Description

@DamianEdwards

Like #3717

When LocalizationOptions.ResourcesPath is not set, ViewLocalizer should prepend the view execution path with the application name.

Let's also trim off the ".cshtml" file extension as having to include that in the resx file name is just cruel.

e.g. where View.ExecutingFilePath is MyApp/Views/Home/Index.cshtml and LocalizationOptions.ResourcesPath is not set, ViewLocalizer would look for a resource with base name "MyApp.Views.Home.Index".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions