public static void ApplyUICulture(CultureSettings culture) { // first we set the properties that Sharpdevelop awaits to change its language, Current.PropertyService.SetValue("CoreProperties.UILanguage", culture.NeutralCultureName); System.Threading.Thread.CurrentThread.CurrentUICulture = culture.Culture; Altaxo.Serialization.GUIConversion.CultureSettings = culture.Culture; }
public static void ApplyDocumentCulture(CultureSettings culture) { System.Threading.Thread.CurrentThread.CurrentCulture = culture.Culture; }
public static void ApplyUICulture(CultureSettings culture) { // first we set the properties that Sharpdevelop awaits to change its language, Current.PropertyService.Set("CoreProperties.UILanguage", culture.NeutralCultureName); System.Threading.Thread.CurrentThread.CurrentUICulture = culture.Culture; Altaxo.Serialization.GUIConversion.CultureSettings = culture.Culture; }
/// <summary>Copies from another instance.</summary> /// <param name="from">Other instance to copy from.</param> protected CultureSettings(CultureSettings from) { CopyFrom(from); }
public static void ApplyDocumentCulture(CultureSettings culture) { System.Threading.Thread.CurrentThread.CurrentCulture = culture.Culture; }
/// <summary>Copies from another instance.</summary> /// <param name="from">Other instance to copy from.</param> protected CultureSettings(CultureSettings from) { CopyFrom(from); }