Back to list
Views:   0
Replies:  0

Reply 1
Localization is a fairly large topic, but essentially it is supported throughout .NET.  As such, the Design Pattern Framework supports localization.

To get the errormessage to display in a different language you need something like this:

[Required(ErrorMessageResourceType = typeof(Resources.Errors), 
          ErrorMessageResourceName = "CompanyName_Required")]
Remember that in ASP.NET you also need to set the current culture on the Thread, like so:.

Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr");
Here is a link to a discussion on these issues (but you can easily find many more references on localization).
I hope this gets you going.

Dan McMillan, Sep 10, 2010

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2