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

Change Localization Dynamically

2 Answers 68 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 09 Jun 2011, 07:47 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

2 Answers, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 09 Jun 2011, 07:49 PM
Sorry, this is a WPF question, I just noticed I'm in the wrong thread. Please answer as such.
0
Yana
Telerik team
answered on 14 Jun 2011, 12:24 PM
Hi S├ębastien,

Please check the other thread regarding the same issue here.

All the best,
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
Sébastien
Top achievements
Rank 1
Yana
Telerik team
Share this question
or