Localize my DataModel stuff asp.net
so i have a multi-tier web app in asp.net mvc i use the asp.net localization with resource files, and it's ok for pages, but i have also some messages (not in the UI开发者_StackOverflow中文版) how do i localize the stuff that is in other class libraries ?
I have found the solution, it's very easy, I have put the resource files in a separate class library and everybody knows the current language though CurrentThread.UICulture
精彩评论