i try to apply localization through resources files to datagrid, but it doesn´t works, i follow all the steps and localization is working for other elements at page, any tip ??
Thank you for your interest in the Telerik UI for .NET MAUI DataGrid control.
I am attaching a sample project which visualizes a DataGrid with localization applied through resource files. You will find DataGridResource.resx - this resource file will store the English(default) resources for the DataGrid control and DataGridResource.de.resx - this resource file will store the German resources for the DataGrid control. When you switch the language of the target device to German, start the application and click on the filter button on one of the column's header, you will be able to see the translated strings.
Note: The ResourceManager initialization should be set before the call to InitializeComponent in the page, otherwise the default values will be applied to the RadDataGrid control.
If the behavior on your side is different, update my test project with the exact setup, and send it back for further research.
the keys you use in your example also works for me, but DataGrid_GroupingPanelHeaderText or DataGrid_GroupingPanelHeaderText_Grouped never takes the values of the resource, why?
I have submitted the code, help me check it please.
Didi
Telerik team
commented on 29 Jul 2024, 10:47 AM
Hi,
The behavior happens because of an issue. I see my colleague Elena shared the details in a reply from 18 Jun 2024. I am pasting the Elena's answer here: