Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to localize my display name attribute but "ResourceType" can't find my resource file. Resource file is directly in my solution.

enter image description here

Also set my access modifier to public but still not working.

Also set my access modifier to public but still not working.

I can't even see it.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
277 views
Welcome To Ask or Share your Answers For Others

1 Answer

It appears the issue is that you are specifying a locale for the resource file without having a default one present in your solution.

DisplayName.resx would be the default language of your application and is needed for the resolution mechanism to work

DisplayName.<locale code>.resx will then override the default locale resources for that particular locale.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...