diff --git a/FoxTube/App.xaml.cs b/FoxTube/App.xaml.cs index b2ba3c7..0fb44a2 100644 --- a/FoxTube/App.xaml.cs +++ b/FoxTube/App.xaml.cs @@ -8,6 +8,7 @@ using Windows.ApplicationModel.Activation; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.Foundation.Collections; +using Windows.Globalization; using Windows.Storage; using Windows.UI.Core; using Windows.UI.Xaml; @@ -44,6 +45,11 @@ namespace FoxTube break; } } catch { } + try + { + ApplicationLanguages.PrimaryLanguageOverride = (string)settings.Values["language"]; + } + catch { } this.InitializeComponent(); this.Suspending += OnSuspending; } diff --git a/FoxTube/FoxTube.csproj b/FoxTube/FoxTube.csproj index 02b02cb..014243e 100644 --- a/FoxTube/FoxTube.csproj +++ b/FoxTube/FoxTube.csproj @@ -431,16 +431,17 @@ + - - - + + + - - - - + + + + Designer diff --git a/FoxTube/Pages/CommentsPage.xaml b/FoxTube/Pages/CommentsPage.xaml index d2cbfe4..dbaa61b 100644 --- a/FoxTube/Pages/CommentsPage.xaml +++ b/FoxTube/Pages/CommentsPage.xaml @@ -18,24 +18,24 @@ - + diff --git a/FoxTube/Pages/Settings.xaml b/FoxTube/Pages/Settings.xaml index d8dfadb..6312e62 100644 --- a/FoxTube/Pages/Settings.xaml +++ b/FoxTube/Pages/Settings.xaml @@ -11,22 +11,22 @@ - + - + - + - + diff --git a/FoxTube/Pages/SettingsPages/About.xaml b/FoxTube/Pages/SettingsPages/About.xaml index 5f80be8..3849599 100644 --- a/FoxTube/Pages/SettingsPages/About.xaml +++ b/FoxTube/Pages/SettingsPages/About.xaml @@ -28,29 +28,29 @@ - + - + - - Twitter: @XFox_Mike - Vkontakte: @XFox.Mike + + Twitter: @XFox_Mike + Vkontakte: @XFox.Mike YouTube: @FoxGameStudioChannel E-mail: michael.xfox@outlook.com - My blog (Russian language only):https://michael-xfox.com + My blog (Russian language only): https://michael-xfox.com - - - - - - - -