From 32ad85a377b00bc54ad7f15a45d7631d3e2b10d5 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期一, 13 六月 2022 17:41:12 +0800
Subject: [PATCH] 2022年06月13日17:39:46

---
 HDL-ON_iOS/AppDelegate.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 4dba627..17392d8 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -233,6 +233,14 @@
                 {
                     Language.CurrentLanguage = "Czech";
                 }
+                //else if (NSLocale.PreferredLanguages[0].Contains("ru-"))
+                //{
+                //    Language.CurrentLanguage = "russian";
+                //}
+                else if (NSLocale.PreferredLanguages[0].Contains("es-"))
+                {
+                    Language.CurrentLanguage = "Spanish";
+                }
                 else
                 {
                     Language.CurrentLanguage = "English";

--
Gitblit v1.8.0