using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace butterflow_ui { /// /// Interaction logic for App.xaml /// public partial class App : Application { /// Raises the event. /// A that contains the event /// data. protected override void OnStartup(StartupEventArgs e) { // Set our localization to the users perfered language Thread.CurrentThread.CurrentCulture = butterflow_ui.Properties.Settings.Default.Language; Thread.CurrentThread.CurrentUICulture = butterflow_ui.Properties.Settings.Default.Language; base.OnStartup(e); } } }