Hi Carlos,
Thank you for contacting Syncfusion support.
We suspect that you want to apply localization for toolbar items. Please refer to the below Help document, code example and sample.
@(Html.EJ().Grid<SyncfusionMvcApplication88.OrdersView>("FlatGrid")
.Datasource((IEnumerable<object>)ViewBag.datasource)
.Columns(col =>
{
col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(75).Add();
..
}))
<script type="text/javascript">
ej.Grid.Locale["de-DE"] = {
…….
Add: "Hinzufügen",
Edit: "Bearbeiten",
Delete: "Löschen",
Update: "Aktualisieren",
Cancel: "Stornieren",
};
</script>
|
If you want to apply localization for toolbar items alone while using “en-US” culture we suggest you to use below code example to apply locale for toolbar items.
<script type="text/javascript">
ej.Grid.Locale["en-US"]["Add"] = "Hinzufügen";
ej.Grid.Locale["en-US"]["Edit"] = "Bearbeiten";
ej.Grid.Locale["en-US"]["Delete"] = "Löschen";
ej.Grid.Locale["en-US"]["Update"] = "Aktualisieren";
ej.Grid.Locale["en-US"]["Cancel"] = "Stornieren";
</script> |
Regards,
Jayaprakash K.