-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Hi,
My application has internazionalization using MVC resource files, and I can specify the Display attribute like this:
[Required]
[Display(Name = "resCategory", ResourceType = typeof(SAEiResource))]
public String Categoria { get; set; }
However DataTables seems to ignore the Display attribute and shows just the member name like "Categoria"
I know we can specify DisplayName with this decoration:
[DataTables(DisplayName = "Full Name")]
public string Name { get; set; }
But I dont know how to point to an entry of my Resource file like:
[DataTables(DisplayName = "Full Name", ResourceType = typeof(SAEiResource))]
public string Name { get; set; }
Is there any way of supporting internazionalization through resource files and applying it to DisplayNames in DataTables?
thanks!
Pablo