From f75a1ba69f5922cab8d2ab43f4447b74bd9b9ea9 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 26 五月 2022 09:52:34 +0800
Subject: [PATCH] 备份

---
 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