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

Trouble with localization to any language

Hi i'm having trouble with localizing my component to Croatian language or any language for that matter. I followed the tutorial in the documentation and I can't seem to get where im wrong. This is how my app.xaml. cs looks like

public App()
CultureInfo.CurrentUICulture = new CultureInfo("hr-HR");
SfSchedulerResources.ResourceManager = new ResourceManager("eOdvjetnik.Resources.SfScheduler", Application.Current.GetType().Assembly); MainPage = new AppShell();
} Also my sfScheduler.hr-HR.resx file is in the eOdvjetnik/resources, and it is set to embedded resource like the tutorial says
what happens is that some of the app is translated(ex. days in the week, and months respectively), and other things like views, weeks counter and mostly elements of the scheduler don't get translated. Any help is welcome

1 Reply

SS SaiGanesh Sakthivel Syncfusion Team April 20, 2023 12:33 PM UTC

Hi Bruno,

#Regarding Localization of the cr-CR language in SfScheduler

We could not replicate the reported scenario from our end. We have prepared the sample with the Croatian locale and attached the sample in the attachment. We suggest that you ensure all custom string texts are added to the SfScheduler.hr-HR.resx file and compared with our resx file.

Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario. It will be helpful for us to check on it and provide you with the solution as soon as possible.

SaiGanesh Sakthivel

Attachment: Localization_b5df6f2c.zip

Live Chat Icon For mobile
Up arrow icon