1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 10:13:42 +00:00

simplified chinese used for all chinese languages for now

This commit is contained in:
Kyle Spearrin
2016-12-26 14:38:18 -05:00
parent b2712119d1
commit 6c847292c7
2 changed files with 25 additions and 20 deletions

View File

@@ -58,14 +58,11 @@ namespace Bit.iOS.Core.Services
Console.WriteLine("iOS Language:" + iOSLanguage);
var netLanguage = iOSLanguage;
if(netLanguage.StartsWith("zh-Hans"))
if(netLanguage.StartsWith("zh"))
{
// simplified chinese used for all for now
netLanguage = "zh-Hans";
}
else if(netLanguage.StartsWith("zh-Hant"))
{
netLanguage = "zh-Hant";
}
else
{
//certain languages need to be converted to CultureInfo equivalent