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

Change Localization Dynamically

1 Answer 189 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 10 Jun 2011, 06:51 PM
Is it possible to change the localization dynamically, while the application is running ?
I tried this:

public CultureInfo UICulture
        {
            get
            {
                return Thread.CurrentThread.CurrentUICulture;
            }
            set
            {
                if (value == null)
                {
                    throw new ArgumentNullException("value");
                }

                Thread.CurrentThread.CurrentUICulture = value;

                if ( Telerik.Windows.Controls.LocalizationManager.Manager != null )
                {
                    Telerik.Windows.Controls.LocalizationManager.Manager.Culture = value;
                }


                UpdateLocalizations();
            }
        }

This doesn't seem to work. The culture that I'm passing is fr-FR, and it seems you support the French language. What am I missing ?

Thanks,
Sebastien

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Jun 2011, 11:48 AM
Hello Sébastien,

There should be no problem to change the localization of RadScheduleView at runtime, you can check our online example here.
Unfortunately,  French language is not supported out of the box, so you should manually include the resx file. Please check this help article for more details.

Kind regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or