if I add en and de to the supported cultures to my project ans the system language is german, I never get english strings on any Telerik control although I set the en as culture and uiculture:
<
param
name
=
"uiculture"
value
=
"en"
/>
<
param
name
=
"culture"
value
=
"en"
/>
Setting it in code does not work either:
Thread.CurrentThread.CurrentCulture = new CultureInfo("en");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");
I do not get english stringsonce I added de to the supported cultures with german system language.
Is this a Telerik bug or am I doing anything wrong?
Thanks and kind regards,
Li
12 Answers, 1 is accepted
I would recommend you to check this documentation article where a detailed instructions on how to set a default startup language are provided.
Regards,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Kind regards,
Li
I am not sure what do you mean by "I added de to the supported cultures with german system language". Would you please clarify?
Have you tried to add "en" to the supported cultures.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I did the folowing:
- added supported cultures "en" and "de". In the projecect file
<
SupportedCultures
>en;de</
SupportedCultures
>
- I set the neutral language of the project in the assembly information to English.
I use a PC with German system setting.
In the code of my app I set the Culture to "en" before I instantiate my Page
Thread.CurrentThread.CurrentCulture = new CultureInfo("en");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");
With "I do not get english strings once I added de to the supported cultures with german system language.", I mean, that I get English strings when I remove the "de" entry in the supported cultures, but when I add it, so that I have "en" AND "de", I always get German strings and never English ones. I hope, this is more clear now.
Kind regards,
Li
Thank you for the clarifications.
I have created a test project to test what happens after I changed my system settings to German. I have attached the project for a reference as I was not able to reproduce such an error.
Would you please run it on your machine to check if you are able to see the english texts.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I unzipped your project and after opening, I had to add the references for the Telerik dlls again, they are pointing to the dlls in your folder Libs in the project. I did not change any other thing.
I ran your project and I am not able to see the English strings. Only the German ones are displayed.
Kind regards,
Li
is there any help or hints you can give me for this issue?
Kind regards,
Li
Unfortunately we are still not able to reproduce such an issue locally.
I have attached screenshots of the System Language Settings on my machine. Would you please check them and let me know in case you have a different setting which I should additionally set?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
thanks for your efforts.
My system settings are the same than yours, I recognized, that all texts in the screenshots are English, mine are German.
I do not know, whether this is relevant.
Maybe it would be good, if I send a sample project to you (in the ticket system?) and you try whether you can see the English strings. We tried this the other way around, but perhaps this will help us to find the solution.
Thanks a lot,
Kind regards, Li
You could open a support thread and send us a test project.
All the best,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
do you found a solution for that problem.
Im in the same situation.
I tried the attached project - thx didie - but i also see the german string.
I changed my system language zu spain, english and german.
Also i changed the CultureInfo in Application_Startup function in code behind.
Nothing happens - only german string.
Is there anything i can do?
May I ask you to open a support thread and send us a test project?
Greetings,
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.