The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
We would like to provide our own localization to all Blazor controls. We found out that we will have to implement ISyncfusionStringLocalizer and provide our own implementation of ResourceManager. Although we got it working, some of the controls like Scheduler have some strings that are not getting localized by the Resource Manager (for example the names of the weekdays). Could you please share with us what is the best approach we should follow in order to achieve what we are looking forward to.
AKAlagumeena Kalaiselvan Syncfusion Team June 5, 2020 03:13 PM UTC
Hi Stephanie,
Thanks for contacting Syncfusion support.
We have validated your case “Scheduler week days not getting localized” and you can applied localization for specified Scheduler fields which are available in resource file alone. Also, we have processed the Scheduler week days based on corresponding locale and you can change weekdays by using Scheduler template option. Refer the below link for that.
Kindly get back to us, If you need further assistance.
Regards
Alagumeena.K
ATAndrej Terkaj February 6, 2021 05:47 PM UTC
Dear Alagumeena !
In your demo I change to Franche-Swiss language. I still got english names of days (see Sun, Mon, Tue ... above weather icons).
I try with other localization (german, Croatian). Same situation ...
Are there missing a resource entries in resx files ?
TIA, Andrej Terkaj
NRNevitha Ravi Syncfusion Team February 8, 2021 11:15 AM UTC
Hi Andrej,
Greetings from Syncfusion Support.
In the shared demo sample, we have used CultureInfo as InvariantCulture due to that the culture is retained from system. We can achieve your requirement ‘change the date header text based on culture’ by using CultureInfo as CurrentCulture. Please refer to the following sample in which date header text will change based on the changed locale.