Set current culture programmatically?
I have the options
Hello Bruno Michels,
We don't support this out of the box. You can try to switch the CurrentUI culture of the thread. Is there any specific reason to keep the url the same after switching the language?
Regards,
Pavel
the Telerik team
Hi,
Using
Thread
.CurrentThread.CurrentUICulture.Name
i am getting the current cultrure.
But how do i set the current culture from code behind?
In my project , i having one module which is culture specific and all other are non-culture.
so i am going to show only culture images on the non-culture pages, but if user clicks only any image , it should reflct on same page.
So i want to set the culture from code behind.
Please help.
Hello,
When you use Thread.CurrentThread.CurrentUICulture = someCult, this should show only the items for the language you set. Note that only Lstring properties of the media items are localizable -Title, Name. The exact image content is not localizable at this stage.
Regards,
Ivan Dimitrov
the Telerik team