I use UI for ASP.NET MVC Q2 2016.
I cannot figure out how to localize the edit and destroy button in the column command of my grid.
My app is using asp.net core rc2
I have include the localization feature using resource.
The default culture is en-US as stated in startup.cs
options.DefaultRequestCulture = new RequestCulture(culture: "en-US", uiCulture: "en-US");
In the Model I manage the localization with resources file "...en-US.resx"
public class TA_ACCESSORY_ACC
{
[MaxLength(ApplicationDbOperation.DM_SHORTTEXT, ErrorMessage = "idsMaxError")]
[Display(ResourceType = typeof(ApplicationResources),Name = "idsName")]
public string NAME_ACC { get; set; }
}
The column of the grid are well translated from french to English but the button command still remain in french.
Any help will be very appreciated.