Mar 17, 2013 at 6:37 PM
Edited Mar 17, 2013 at 6:38 PM
I have been trying to figure out how to get localization to work. Assuming your doing something like
in your view, how do you write out the localized error message manually in the DB (I don't literally mean how do I get into the DB - what convention do you use in the DB)?
Let's say you have MyModule.Models.RegisterModel, how do you write it out for:
#: <--WHAT GOES HERE?
#| msgid "" <--WHAT GOES INSIDE THE QUOTES?
which is what the .po file structure is like?
I wish this were more intuitive or that there was a better explanation.
I have just tried decorating my properties with [LocalizedRequired], but this throws an error about not taking 0 arguments (and putting ErrorMessage="" does not work). I then tried [Required], but still nothing.