Skip to content

SqlStringLocalizer as DataAnnotationLocalizerProviderΒ #56

Open
@haeberle

Description

@haeberle

First, cool work, very helpful!

But I'm struggling a bit to localize the MVC ViewModel, because I'd like to have the Fields in the database too:

[Required(ErrorMessageResourceName ="MissingEmailAddress", ErrorMessageResourceType = typeof(SharedResource))]
            [Display(Name = "Email", ResourceType = typeof(SharedResource))]
            [EmailAddress(ErrorMessageResourceName ="EmailAddressWrongFormat", ErrorMessageResourceType = typeof(SharedResource))]

How I have to e to configure it ?
Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions