Articles in this section
Category / Section

How to localize the .NET MAUI Calendar?

2 mins read

In the Syncfusion .NET MAUI Calendar control, change the localization of SfCalendar by following these steps.

 

Step 1: Change the localization by adding the Globalization namespace to your application and setting the CurrentCulture in the App.xaml.cs.

 

XAML

public App()
{
 InitializeComponent();
    CultureInfo.CurrentUICulture = CultureInfo.CreateSpecificCulture("ja-JP");
 
    MainPage = new AppShell();
}

 

Step 2: Add the SfCalendar control to your view page as shown in the following code sample.

 

XAML

<ContentPage.Content>
    <calendar:SfCalendar x:Name="calendar"/>
</ContentPage.Content>

 

View sample on GitHub

 

Output:

 

Month View

 

Localized month view in the Synfusion .NET MAUI Calendar

 

Year View

 

Localized year view in the Synfusion .NET MAUI Calendar

 

Conclusion

 

I hope you enjoyed learning how to localize the .NET MAUI Calendar (SfCalendar).

Refer to our .NET MAUI Calendar’s feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Calendar documentation to understand how to present and manipulate data.

For current customers, check out our .NET MAUI components from the License and Downloads page. If you are new to Syncfusion, try our 30-day free trial to check out our .NET MAUI Calendar and other .NET MAUI components.

Please let us know in the following comments section if you have any queries or require clarifications. Contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied