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

Enum values don't change based on changed Culture #5198

Closed
ryanbrandenburg opened this issue Aug 30, 2016 · 0 comments
Closed

Enum values don't change based on changed Culture #5198

ryanbrandenburg opened this issue Aug 30, 2016 · 0 comments
Assignees

Comments

@ryanbrandenburg
Copy link
Contributor

Because EnumNameAndGroup stores the name of an Enum as a string the value is not re-evaluated for different cultures, and the first culture to visit a site will be the culture everyone sees.

@ryanbrandenburg ryanbrandenburg self-assigned this Aug 30, 2016
@danroth27 danroth27 added this to the 1.1.0 milestone Sep 7, 2016
ryanbrandenburg added a commit that referenced this issue Sep 7, 2016
Fixes #5197 GetEnumSelectList uses IStringLocalizer
Fixes #4215 Html.DisplayFor now checks DisplayAttributes on enums
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