We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with translation using Localization

Thread ID:





146167 Jul 23,2019 09:07 PM UTC Jul 25,2019 04:52 AM UTC WPF 3
Tags: SfDataGrid
Tech Shop
Asked On July 23, 2019 09:07 PM UTC


I am trying to implement SfDataGrid translation, but I am not succeeding. I believe I have correctly followed what is in the documentation, ie https://help.syncfusion.com/wpf/datagrid/localization.

I am doing as follows:

public WindowMain()
     Type typeClass = typeof(WindowMain);
     var space = typeClass.Namespace;

     Thread.CurrentThread.CurrentUICulture = new CultureInfo("pt-BR");
     GridResourceWrapper.SetResources(Assembly.GetExecutingAssembly(), space);

Follow the picture of how it was made.

I await the feedback.

Attachment: erro_localization.fw_212c32b8.rar

Farjana Parveen Ayubb [Syncfusion]
Replied On July 24, 2019 08:47 AM UTC

Hi Tech Shop, 
Thank you for using Syncfusion controls. 
Based on the provided screenshot, we suspect that, you did not add the Syncfusion.SfGrid.WPF.resx file in your application. Please check and add this file in to your application. Please refer the step 2 in following user guide documentation, 
Please let us know, if you need further assistance. 
Farjana Parveen A 

Tech Shop
Replied On July 24, 2019 06:38 PM UTC

Thank you

Problem solved. The point was that the files were in different design within the solution.

Farjana Parveen Ayubb [Syncfusion]
Replied On July 25, 2019 04:52 AM UTC

Hi Tech Shop, 
Thanks for the update. 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
Farjana Parveen A 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon