New to Telerik UI for WinForms? Download free 30-day trial

How to Translate the Month Names in RadPivotGrid

Environment

Product Version Product Author
2021.3.914 RadPivotGrid for WinForms Desislava 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:

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

dataProvider.Culture = New System.Globalization.CultureInfo("it-IT")

translate-month-names-in-pivotgrid002

See Also

In this article
Not finding the help you need? Improve this article