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

DataAnnotationsLocalization does not cover [Display] attribute #3691

Closed
nothrow opened this issue Dec 4, 2015 · 2 comments
Closed

DataAnnotationsLocalization does not cover [Display] attribute #3691

nothrow opened this issue Dec 4, 2015 · 2 comments

Comments

@nothrow
Copy link

nothrow commented Dec 4, 2015

I updated LocalizationWebSite's User.cs model with [Display(Name="UserName")].
Also, I added key-value UserName->UserNameTranslated into the resx file for given model.

I expected that /Home/GetInvalidUser?culture=fr will have UserNameTranslated as label for first textbox.
Actual result is 'UserName'.

@dougbu
Copy link
Member

dougbu commented Dec 5, 2015

@yossarianeq I suspect you're asking for a #3518 fix. Correct?

@nothrow
Copy link
Author

nothrow commented Dec 5, 2015

@dougbu Yes. Sorry for the duplicate, I was not able to find it.

@nothrow nothrow closed this as completed Dec 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants