I have a code that look like this :
public class MyModel { [Required] [Display(Name = \"labelForName\", ResourceType = typeof(Resources.Resources))]
Have you considered a T4 Template to modify generated code.
http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx
I tend to use T4 templates in combination with partial classes when dealing with generated code.