- Home
- Forum
- ASP.NET Core - EJ 2
- Trouble translating sort text A to Z in grid
Trouble translating sort text A to Z in grid
Good afternoon gentlemen,

Can you help me out with the following please?
I'm able to translate to spanish almost all of the controls text in the grid, but I'm having trouble with the sorting zone, the one that says "Sort A to Z", maybe I'm missing something in my translations zone....can you help me please?
The control that Im using is "ejs-grid"
I already tried in the grid zone:
The control that Im using is "ejs-grid"
I already tried in the grid zone:
"SortTextAscending": "Ordenar de A a Z",
"SortTextDescending": "Ordenar de Z a A",
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
RS
Rajapandiyan Settu
Syncfusion Team
December 28, 2020 08:23 AM UTC
Hi Javier,
Greetings from Syncfusion support.
Query: I'm able to translate to Spanish almost all of the controls text in the grid, but I'm having trouble with the sorting zone, the one that says "Sort A to Z"
By using the following default texts, you can globalize the Sort content in the EJ2 Grid’s Excel Filter Dialog.
|
<ejs-grid id="Grid" dataSource="@ViewBag.DataSource" allowPaging="true" locale="es-ES" allowFiltering="true" allowSorting="true">
-----
</ejs-grid>
<script>
ej.base.L10n.load({
'es-ES': {
'grid': {
--------
'SortAtoZ': 'Ordenar de A a Z',
'SortZtoA': 'Ordenar de Z a A',
'SortByOldest': 'Ordenar por más antigua',
'SortByNewest': 'Ordenar por más nueva',
'SortSmallestToLargest': 'Ordenar a la más grande',
'SortLargestToSmallest': 'Ordenar a la más pequeña'
}
}
});
</script>
|
Please get back to us if you need further assistance with this.
Regards,
Rajapandiyan S
Marked as answer
JA
Javier A Aguilera
December 28, 2020 05:48 PM UTC
That worked great!!
Thanks for the fast answer gentlemen, I just noticed i have another text with the issue "Match Case" in the pop up of the filter, can you help me please?

Thanks for the fast answer gentlemen, I just noticed i have another text with the issue "Match Case" in the pop up of the filter, can you help me please?
RS
Rajapandiyan Settu
Syncfusion Team
December 29, 2020 08:25 AM UTC
Hi Javier,
Thanks for your update.
Query: I just noticed i have another text with the issue "Match Case" in the pop up of the filter
By using the below default text, you can localize the Match Case content in the Custom Filter Dialog.
|
<ejs-grid id="Grid" dataSource="@ViewBag.DataSource" allowPaging="true" locale="es-ES" allowFiltering="true" allowSorting="true">
-----
</ejs-grid>
<script>
ej.base.L10n.load({
'es-ES': {
'grid': {
--------
"MatchCase": "Match Case",
--------
}
}
});
</script>
|
In the below sample we have localized all the default texts in the Grid.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/core_grid_locale1413777906.zip
Please get back to us if you need further assistance with this.
Regards,
Rajapandiyan S
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
- Marked answer
-
JA Javier A Aguilera
- Dec 25, 2020 02:52 AM UTC
- Dec 29, 2020 08:25 AM UTC