A long time ago, I wrote a blog post about how to translate text in C# using Google Translate [https://martinnormark.com/2009/03/12/translate-text-in-c-using-google-translate]. Since then, an official AJAX API has been released, which is a much better solution. Reading the comments of the blog post indicates that
I love the new model validation features in System.ComponentModel.DataAnnotations. One thing I don’t like though, is that the ErrorMessageResourceName is loosely typed. The ErrorMessageResourceType, however, is a System.Type which will be strongly typed by assigning its value using the typeof(Namespace.ResourceSetType) method. Since there’s
Yesterday, I blogged about how you can use Google Translate to translate a string in C# [https://martinnormark.com/post/Translate-text-in-C-using-Google-Translate.aspx]. To make it more useful than just a simple translator, and because I need to translate some Global Resource files for an E-commerce website that I’m working
Web sites and Web Applications today, are very often exposed beyond the borders of your home country, and therefore users speak different languages, and has a different currency, date- and time formats etc. ASP.NET provides you with an entire namespace for handling things like this. That is the System.