diff --git a/Site/Pages/v5/User/SelectLanguage.aspx.cs b/Site/Pages/v5/User/SelectLanguage.aspx.cs
index fc4b71ee..4fd87ea6 100644
--- a/Site/Pages/v5/User/SelectLanguage.aspx.cs
+++ b/Site/Pages/v5/User/SelectLanguage.aspx.cs
@@ -31,7 +31,7 @@ namespace Swarmops.Frontend.Pages.v5.User
private void PopulateRepeater()
{
- string[] availableCultures = {"ar-AE", "de-DE", "es-ES", "nl-NL", "pt-PT", "ru-RU", "tr-TR", "sv-SE" };
+ string[] availableCultures = {"ar-AE", "de-DE", "es-ES", "fil-Latn", "nl-NL", "pt-PT", "ru-RU", "tr-TR", "sv-SE" };
Array.Sort (availableCultures);
// sort by locale string, and that's ok, that happens to give the same result as sorting on country name
@@ -59,6 +59,11 @@ namespace Swarmops.Frontend.Pages.v5.User
newLanguage.IconUrl = "/Images/Flags/Arabic-64px.png";
// crowdin's generic culture is ar-SA but Arabic is not country specific
}
+ else if (cultureId.StartsWith("fil"))
+ {
+ // Filipino flag can't be deduced from the culture string
+ newLanguage.IconUrl = "/Images/Flags/ph-64px.png";
+ }
else
{
newLanguage.IconUrl = "/Images/Flags/" + cultureId.Substring(3, 2).ToLowerInvariant() + "-64px.png";
diff --git a/Site/Site.csproj b/Site/Site.csproj
index ff2073fb..4277266b 100644
--- a/Site/Site.csproj
+++ b/Site/Site.csproj
@@ -785,6 +785,8 @@
+
+