New to Telerik UI for WinFormsStart a free 30-day trial

How to Translate the Month Names in RadPivotGrid

Updated over 6 months ago

Environment

Product VersionProductAuthor
2021.3.914RadPivotGrid for WinFormsDesislava Yordanova

Description

When a group description is added in RadPivotGrid for a DateTime field, the month names are displayed in English by default:

translate-month-names-in-pivotgrid001

A common requirement is to keep the month names in the same language as the culture applied to the application.

Solution

The LocalDataSourceProvider offers Culture property which allows you to translate the month names for the DateTime group descriptions as well:

C#
dataProvider.Culture = new System.Globalization.CultureInfo("it-IT");

translate-month-names-in-pivotgrid002

See Also