zh-HK gets traditional chinse

This commit is contained in:
Kyle Spearrin 2018-11-15 08:23:45 -05:00
parent 49af74729f
commit 36e263b9ff
2 changed files with 3 additions and 2 deletions

View file

@ -54,7 +54,8 @@ namespace Bit.Android.Services
if(androidLanguage.StartsWith("zh")) if(androidLanguage.StartsWith("zh"))
{ {
if(androidLanguage.Contains("Hant") || androidLanguage.Contains("TW")) if(androidLanguage.Contains("Hant") || androidLanguage.Contains("TW") ||
androidLanguage.Contains("HK") || androidLanguage.Contains("MO"))
{ {
netLanguage = "zh-Hant"; netLanguage = "zh-Hant";
} }

View file

@ -58,7 +58,7 @@ namespace Bit.iOS.Core.Services
Console.WriteLine("iOS Language:" + iOSLanguage); Console.WriteLine("iOS Language:" + iOSLanguage);
var netLanguage = iOSLanguage; var netLanguage = iOSLanguage;
if(iOSLanguage.StartsWith("zh-Hant")) if(iOSLanguage.StartsWith("zh-Hant") || iOSLanguage.StartsWith("zh-HK"))
{ {
netLanguage = "zh-Hant"; netLanguage = "zh-Hant";
} }