Localization in .NET MAUI Scheduler (SfScheduler)
29 Oct 20251 minute to read
Localization is the process of translating the application resources into different language for the specific cultures. The SfScheduler can be localized by adding resource file. The SfScheduler allows you to localize the following built-in strings to suit your application’s language and culture:
- Day
- Week
- WorkWeek
- Month
- TimelineDay
- TimelineWeek
- TimelineWorkWeek
- TimelineMonth
- Agenda
- Today
- NoEvents
- AllDay
Setting CurrentUICulture to the application
Application culture can be changed by setting CurrentUICulture. in App.xaml.cs file.
using Syncfusion.Maui.Scheduler;
using System.Resources;
public partial class App : Application
{
public App()
{
InitializeComponent();
CultureInfo.CurrentUICulture = new CultureInfo("fr-FR");
//// ResXPath => Full path of the resx file; For example : //SfScheduleResources.ResourceManager = new ResourceManager
// ("MauiSchedulerDemo.Resources.SfScheduler", Application.Current.GetType().Assembly);
SfScheduleResources.ResourceManager = new ResourceManager(ResXPath, Application.Current.GetType().Assembly);
MainPage = new MainPage();
}
}NOTE
The required
resxfiles withBuild ActionasEmbeddedResource(File name should contain culture code) into theResourcesfolder.
Localize application level
To localize the Scheduler based on CurrentUICulture using resource files, follow the below steps.
- Add the default resource file of
SchedulerintoResourcesfolder of the application.

-
Right-click on the
Resourcesfolder, selectAddand thenNewItem. -
In Add New Item wizard, select the Resource File option and name the filename as
SfScheduler.<culture name>.resx.For example, give the name asSfScheduler.fr-FR.resxfor French culture. -
The culture name indicates the name of the language and country.

- Now, select
Addoption to add the resource file in Resources folder.

- Add the Name/Value pair in Resource Designer of
SfScheduler.fr-FR.resxfile and change its corresponding value to corresponding culture.

The complete sample can be downloaded from GitHub.