title: How can I add the field name to a localized Required Field validator?
body: <p>When using a Required attribute on a field, the default message is "The <em>field name</em> field is required".</p>
  
  <p>Most of the localization examples I've seen have unique resources for each field:</p>
  
  <pre><code>  [Display(Name = "Field1", ResourceType = typeof(Resources.Test))]
    [Required(ErrorMessageResourceName = "Field1Required", ErrorMessageResourceType = typeof(Resources.Test))]
    public string field1 { get; set; }
  
    [Display(Name = "Field2", ResourceType = typeof(Resources.Test))]
    [Required(ErrorMessageResourceName = "Field2Required", ErrorMessageResourceType = typeof(Resources.Test))]
    public string field2 { get; set; }
  </code></pre>
  
  <p>Is there any way to duplicate the default functionality with a localized resources, so that I could have something like:</p>
  
  <pre><code>  [Display(Name = "Field1", ResourceType = typeof(Resources.Test))]
    [Required(ErrorMessageResourceName = "resRequired", ErrorMessageResourceType = typeof(Resources.Test))]
    public string field1 { get; set; }
  
    [Display(Name = "Field2", ResourceType = typeof(Resources.Test))]
    [Required(ErrorMessageResourceName = "resRequired", ErrorMessageResourceType = typeof(Resources.Test))]
    public string field2 { get; set; }
  </code></pre>
  
  <p>where resRequired would be something like:  <code>The {0} field is required.</code></p>