how to change the language of "click here to add new item" to Chinese in RadGridView

2 Answers 64 Views
GridView
Jeffrey
Top achievements
Rank 1
Iron
Jeffrey asked on 04 Jan 2024, 02:45 AM | edited on 04 Jan 2024, 02:46 AM

Hi

In RadGridView, I want to change the language of "click here to add new item" to Chinese(check the attachment please), any idea? thanks

-Jeffrey

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 04 Jan 2024, 01:37 PM

Hello Jeffrey,

Telerik UI for WPF comes with a built-in localization support which automatically translates the fixed strings (like the "Click here to add new item") to different languages. However, the Chinese language is not supported. There is a feature request to introduce this.

In the meantime, you can implement custom localization for the Chinese language, using a custom localization manager. The key for the "Click here to add new item" is "GridViewAlwaysVisibleNewRow".

You can see how to extract all localization resources in the following KB article.

I hope this information helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Jeffrey
Top achievements
Rank 1
Iron
answered on 05 Jan 2024, 06:55 AM

Hi Martin

Create a customized class to override GetStringOverride method works fine, thank you very much.

-Jeffrey

Tags
GridView
Asked by
Jeffrey
Top achievements
Rank 1
Iron
Answers by
Martin Ivanov
Telerik team
Jeffrey
Top achievements
Rank 1
Iron
Share this question
or