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

[Solved] Culture

9 Answers 137 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sonia
Top achievements
Rank 1
Sonia asked on 19 Jun 2013, 10:46 AM
Despite of having set my culture to english en-GB
for Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture
the texts in Filter window are shown in Spanish.
How can i manage that the texts appear in the language selected?

Thank you,
Sonia.

9 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 19 Jun 2013, 11:21 AM
Hello Sonia,

I would suggest you to check this help article for a reference. 

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sonia
Top achievements
Rank 1
answered on 19 Jun 2013, 11:46 AM
Hello Didie,
i have already followed these steps however all my application is shown in the culture selected except for Filter windows from RadGridView.
After browsing my release folder i noticed that Telerik.Windows.Controls.resources.dll is in the folders de, es, fr, it, nl, tr
But i cannot find it in any en* folder.
In the link you sent to me says that up for now the supported languages are English, German, Spanish and French.
What i am missing?
0
Dimitrina
Telerik team
answered on 19 Jun 2013, 01:47 PM
Hello,

The RadGridView is localized in those four languages. I have attached a demo project to show you how to apply the culture and get the RadGridView's strings localized in Spanish.

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sonia
Top achievements
Rank 1
answered on 21 Jun 2013, 08:55 AM
Hello Didie,

I have tried your example and texts are shown in spanish, perfect.

However after changing these two lines
Thread.CurrentThread.CurrentCulture = new CultureInfo("es");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");

per
Thread.CurrentThread.CurrentCulture = new CultureInfo("en");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");

in App.xaml.cs
the texts are already shown in spanish.

I am afraid that maybe is taking the culture from the browser.
0
Dimitrina
Telerik team
answered on 21 Jun 2013, 10:14 AM
Hi,

I have changed the lines on the sample project I sent and run the application again. As a result all the strings were in English.

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sonia
Top achievements
Rank 1
answered on 21 Jun 2013, 10:26 AM
Please find attached a screenshot when simulating the same scenario as yours.

Any idea about why texts appear in spanish?

For your information, my browser as well as my operating system is in spanish.
0
Dimitrina
Telerik team
answered on 21 Jun 2013, 11:21 AM
Hello,

Would you please add "en" to the SupportedCultures (I have added just "es" in the attached project)? You can follow the instructions from the help article I referred in one of my previous replies.
 

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sonia
Top achievements
Rank 1
answered on 12 Jul 2013, 07:36 AM
Hi Didie,

Although I have "en" in SupportedCultures, texts already appear in spanish.
Please see the attachment.

Thank you,
Sonia.
0
Dimitrina
Telerik team
answered on 15 Jul 2013, 07:32 AM
Hello,

This is indeed strange. Are the regional settings on your machine Spanish? What happens if you change them to English? Would you please Clean and Rebuild the application?

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Sonia
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Sonia
Top achievements
Rank 1
Share this question
or