This is a migrated thread and some comments may be shown as answers.

Grid language

2 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mattia
Top achievements
Rank 2
Mattia asked on 09 Mar 2015, 11:34 AM
Hi,
How can I change the language of the default controls captions without change Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture?

For example:
PC language and cultureinfo are set as ITA
SW language is set as EN and culture info as ITA

I need to keep the number and date format setting as ITA and captions as EN

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 10 Mar 2015, 12:52 PM
Hello Stefania,

Generally, changing CurrentCulture and CurrentUICulture is the way to go. Depending on your exact scenario and requirements, you can also try setting Language property. Check out this article for a reference. 



Regards,
Maya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Mattia
Top achievements
Rank 2
answered on 11 Mar 2015, 04:06 PM
Hi,
I resolved by creating a new cultureinfo derivated from en-US
and replaced the format number and datetime with the currentthread.currentculture (it-IT)
At the end I changed CurrentCulture and CurrentUICulture with the new one
Tags
GridView
Asked by
Mattia
Top achievements
Rank 2
Answers by
Maya
Telerik team
Mattia
Top achievements
Rank 2
Share this question
or