diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Properties/Resources.ar_SA.resx b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Properties/Resources.ar.resx
similarity index 100%
rename from FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Properties/Resources.ar_SA.resx
rename to FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Properties/Resources.ar.resx
diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs
index a9a84e3..9304d59 100644
--- a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs
+++ b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs
@@ -30,7 +30,8 @@ namespace FRESHMusicPlayer.ViewModels
new("Automatic", "automatic"),
new("English", "en"),
new("German", "de"),
- new("Vietnamese", "vi")
+ new("Vietnamese", "vi"),
+ new("Arabic (Saudi Arabia)", "ar")
};
public string Version => MainWindowViewModel.ProjectName;
diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj
index 5085791..a466842 100644
--- a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj
+++ b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj
@@ -289,6 +289,7 @@
Settings.settings
True
+
diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml
index 4c68176..ab5993f 100644
--- a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml
+++ b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml
@@ -60,6 +60,7 @@
+
diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml.cs b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml.cs
index a3d5ffa..91e330e 100644
--- a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml.cs
+++ b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Pages/Settings/SettingsPage.xaml.cs
@@ -65,6 +65,9 @@ namespace FRESHMusicPlayer.Pages
case "da":
General_LanguageCombo.SelectedIndex = (int)LanguageCombo.Danish;
break;
+ case "ar":
+ General_LanguageCombo.SelectedIndex = (int)LanguageCombo.Arabic;
+ break;
}
switch (App.Config.Theme)
{
@@ -176,6 +179,9 @@ namespace FRESHMusicPlayer.Pages
case (int)LanguageCombo.Danish:
App.Config.Language = "da";
break;
+ case (int)LanguageCombo.Arabic:
+ App.Config.Language = "ar";
+ break;
}
SetAppRestartNeeded(App.Config.Language != workingConfig.Language);
}
@@ -276,7 +282,8 @@ namespace FRESHMusicPlayer.Pages
Portuguese,
Turkish,
Dutch,
- Danish
+ Danish,
+ Arabic
}
public enum UpdateCombo
{
diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Properties/Resources.ar_SA.resx b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/Properties/Resources.ar.resx
similarity index 100%
rename from FRESHMusicPlayer/FRESHMusicPlayer-WPF/Properties/Resources.ar_SA.resx
rename to FRESHMusicPlayer/FRESHMusicPlayer-WPF/Properties/Resources.ar.resx