I'm using a custom ModelMetadataProvider, ModelValidatorProvider and WebViewPage to inject into MVC3. Hence my library is taking care of both model, validation and view localization. The latter in a linux gettext style (@T("This is translated"))
The translations are provided by two lightweight interface/classes:
ricka6
All-Star
15070 Points
2272 Posts
Microsoft
Moderator
Localization in ASP.NET MVC with Griffin.MvcContrib
Mar 29, 2012 01:08 AM|LINK
Localization in ASP.NET MVC with Griffin.MvcContrib
looks really helpful. Any comments on it?
raduenuca
All-Star
24675 Points
4250 Posts
Re: Localization in ASP.NET MVC with Griffin.MvcContrib
Mar 29, 2012 08:57 AM|LINK
I've read the article and at the first look seems helpful. I will definitely check it out
Radu Enuca | Blog
ricka6
All-Star
15070 Points
2272 Posts
Microsoft
Moderator
Re: Localization in ASP.NET MVC with Griffin.MvcContrib
Mar 30, 2012 12:15 AM|LINK
Jon Galloway asked how it compares to the Code52 i18n package: http://code52.org/internationalization-recap.html
jgauffin
Member
4 Points
2 Posts
Re: Localization in ASP.NET MVC with Griffin.MvcContrib
May 07, 2012 06:24 AM|LINK
Feel free to contact me directly if you have any questions.
You might also want to read my plugin article: http://blog.gauffin.org/2012/05/griffin-mvccontrib-the-plugin-system/ ;)
C# WebServer, Griffin.MvcContrib, Griffin.Networking, Griffin.Editor, Griffin.Table
jgauffin
Member
4 Points
2 Posts
Re: Localization in ASP.NET MVC with Griffin.MvcContrib
May 07, 2012 06:37 AM|LINK
Jon Galloway asked how it compares to the Code52 i18n package: http://code52.org/internationalization-recap.html
I've looked at that code. It's a bit different.
I'm using a custom ModelMetadataProvider, ModelValidatorProvider and WebViewPage to inject into MVC3. Hence my library is taking care of both model, validation and view localization. The latter in a linux gettext style (@T("This is translated"))
The translations are provided by two lightweight interface/classes:
Which means that you can use virtually any data source for the strings. The framework has built in support for RavenDb, String Tables and Sql Server.
C# WebServer, Griffin.MvcContrib, Griffin.Networking, Griffin.Editor, Griffin.Table