Completed
Last Updated: 17 Dec 2025 13:53 by ADMIN
Release 12.1.0
Patrick Anthamatten
Created on: 30 Oct 2025 09:30
Category: DataPager
Type: Bug Report
1
DataPager: DataPager_PageSizesView_LabelText localization string does not apply when setting Telerik PlatformDark and PlatformLight themes

when setting Telerik PlatformDark and PlatformLight themes, the DataPager_PageSizesView_LabelText  localization string of the DataPager does not apply. 

 

Workaround: Use the Telerik themes

1 comment
ADMIN
Didi
Posted on: 17 Dec 2025 13:53

The behavior observes as the Telerik localization manager was set after the Telerik theme resources:

Solution:

Set the localization manager before merging the theme resources in App.xaml.cs file:

public partial class App : Application
{
    public App()
    {
        TelerikLocalizationManager.Manager.ResourceManager = AppResources.ResourceManager;

        InitializeComponent();

        TelerikThemeResources.AppTheme = TelerikTheme.PlatformDark;

        if (TelerikThemeResources.AppTheme.ToString().EndsWith("Dark"))
        {
            Application.Current.UserAppTheme = AppTheme.Dark;
        }
    }

    protected override Window CreateWindow(IActivationState? activationState)
    {
        return new Window(new MainPage());
    }
}

Regards,
Didi
Progress Telerik