Localisation Problem

Hi,

I tried to localise the resources of TabControlExt by editing default culture strings as it guides in the specified document (https://help.syncfusion.com/wpf/localization#editing-default-culture-strings). However, it took no effect after I modified the values of relevant properties in the file "Syncfusion.Tools.Wpf.resx". My project uses .NET Core and MaterialLight theme.

Could you please help to provide a solution to this?

Regards,
Arvin

6 Replies 1 reply marked as answer

UN Unknown Syncfusion Team August 11, 2020 11:57 AM UTC

Hi Arwin, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query “Localization in TabControlExt is not working properly”  and we have logged it as defect. The fix for the reported issue will be included in Volume 3 release which will roll out by end of September, 2020. Can you wait until official release ? Otherwise we can provide patch in your current Syncfusion version on August 25, 2020. Please refer the below feedback for same. 
 
 
 
Regards, 
Niranjan 
 
 



AR ArvinZJC August 11, 2020 02:07 PM UTC

Hi Niranjan,

If I remember correctly, there will be a new release in the mid of this month. I would really appreciate it if you could provide a patch in that version.

Besides, in my NET Core project using Material Light theme, I found no strings of TabControlExt can be localised, including Close, CloseAllButThis, ClossAll, and MoreTabs.

Regards,
Arvin


UN Unknown Syncfusion Team August 12, 2020 06:43 AM UTC

Hi Arwin, 

Thanks for your update. 

As requested we will provide patch for the reported issue in Volume 2 SP1 release version on August 25, 2020. We appreciate your patience until then. 

Regards, 
Niranjan Kumar Gopalan 



VR Vijayalakshmi Roopkumar Syncfusion Team August 25, 2020 02:25 PM UTC

Hi Arwin

Thank you for your patience.

On analyzing further,found that the you have wrongly referred the resx file.So please refer the sample from the following location to localize the controls as you desired .

Sample: https://www.syncfusion.com/downloads/support/forum/156798/ze/NewSample-783066828 

Please let us know if you have any other concerns.

Regards,
Vijayalakshmi VR
 



AR ArvinZJC August 26, 2020 12:19 PM UTC

Hi Vijayalakshmi,

I have tried to change the values of the specified properties in the "Syncfusion.Tools.Wpf.resx" file. However, I still cannot localise the string values of the tab control. I don't know if the following details would help but I would just list them as follows.

1. Since my app needs to display in one non-English language only. I chose to implement localisation by editing the default culture strings (https://help.syncfusion.com/wpf/localization#editing-default-culture-strings).
2. .NET Core 3 project; MaterialLight Theme applied
3. Values of properties changed: TabClose, TabCloseAll, CloseAllButThis, MoreTabs
4. Syncfusion Version 18.2.0.44

      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.Data.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.Licensing.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfBusyIndicator.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfGrid.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfGridConverter.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfInput.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfShared.Wpf.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.SfSkinManager.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.Shared.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.Themes.MaterialLight.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.Tools.WPF.dll
   
   
      ..\..\..\..\Program Files (x86)\Syncfusion\Essential Studio\WPF\18.2.0.44\precompiledassemblies\netcoreapp3.1\Syncfusion.XlsIO.Base.dll

You can also refer to the attachment.

Regards,
Arvin
   

Attachment: ShSzStockHelper_ed30e50b.zip


UN Unknown Syncfusion Team August 27, 2020 06:11 AM UTC

Hi Arvin, 

Thanks for your update. 

We have checked your query and we have missed the format (Syncfusion.Tools.wpf.<language code>.resx) of resource file name , it should be like Syncfusion.Tools.Wpf.en-EN.resx and you should add the following code before the InitializeComponent method has been invoked. Please find the modified sample and screenshot below. 

C#: 
public HomeWindow() 
       
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-CN"); 

            InitializeComponent(); 


Screenshot : 
 

Regards, 
Niranjan Kumar Gopalan 


Marked as answer
Loader.
Up arrow icon