New Posts New Posts RSS Feed: Localization of validation errors
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Localization of validation errors

 Post Reply Post Reply
Author
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Topic: Localization of validation errors
    Posted: 22-Aug-2012 at 2:56pm
Hi redman,
 
 
With regards to localization on the server, I'd suggest passing that information on IPrincipal, so the server would now the culture.
 
Regards,
   Silvio.
Back to Top
redman View Drop Down
Newbie
Newbie


Joined: 14-Jun-2012
Posts: 4
Post Options Post Options   Quote redman Quote  Post ReplyReply Direct Link To This Post Posted: 22-Aug-2012 at 3:00am
Hi

I have a question about localizing validation errors. I would like to localize validation errors based on user's culture (Silverlight application). How do you translate the server side errors so that client get error messages in it's language? I would like to translate generated validation errors (for those generated from database, like required) and those of custom verifiers.
Is there any sample or best practices on how to do this? 

Thanks for your help
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down