try to fixed #184
This commit is contained in:
1 parent
4a335f46cb
commit
ee9453964b
4 files changed
+14
-13
No files matched your search
@@ -8,7 +8,6 @@ using System.Windows;
|
||||
using System.Windows.Markup;
|
||||
using HandyControl.Controls;
|
||||
using HandyControl.Data;
|
||||
using System.Threading;
|
||||
|
||||
namespace HandyControl.Tools
|
||||
{
|
||||
@@ -44,7 +43,6 @@ namespace HandyControl.Tools
|
||||
public void SetLang(string lang)
|
||||
{
|
||||
Application.Current.Dispatcher.Thread.CurrentUICulture = new CultureInfo(lang);
|
||||
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
Lang = XmlLanguage.GetLanguage(lang);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user