diff --git a/src/Humanizer.Tests/Humanizer.Tests.csproj b/src/Humanizer.Tests/Humanizer.Tests.csproj
index 2284164ab..c712a21ac 100644
--- a/src/Humanizer.Tests/Humanizer.Tests.csproj
+++ b/src/Humanizer.Tests/Humanizer.Tests.csproj
@@ -154,10 +154,10 @@
-
-
-
-
+
+
+
+
diff --git a/src/Humanizer.Tests/Localisation/zh-CHS/DateHumanizeTests.cs b/src/Humanizer.Tests/Localisation/zh-Hans/DateHumanizeTests.cs
similarity index 96%
rename from src/Humanizer.Tests/Localisation/zh-CHS/DateHumanizeTests.cs
rename to src/Humanizer.Tests/Localisation/zh-Hans/DateHumanizeTests.cs
index 5128f65a7..da0236bf1 100644
--- a/src/Humanizer.Tests/Localisation/zh-CHS/DateHumanizeTests.cs
+++ b/src/Humanizer.Tests/Localisation/zh-Hans/DateHumanizeTests.cs
@@ -1,11 +1,11 @@
using Humanizer.Localisation;
using Xunit.Extensions;
-namespace Humanizer.Tests.Localisation.zhCHS
+namespace Humanizer.Tests.Localisation.zhHans
{
public class DateHumanizeTests : AmbientCulture
{
- public DateHumanizeTests() : base("zh-CHS") { }
+ public DateHumanizeTests() : base("zh-Hans") { }
[Theory]
[InlineData(2, "2 天前")]
diff --git a/src/Humanizer.Tests/Localisation/zh-CHS/TimeSpanHumanizeTests.cs b/src/Humanizer.Tests/Localisation/zh-Hans/TimeSpanHumanizeTests.cs
similarity index 94%
rename from src/Humanizer.Tests/Localisation/zh-CHS/TimeSpanHumanizeTests.cs
rename to src/Humanizer.Tests/Localisation/zh-Hans/TimeSpanHumanizeTests.cs
index 24f05c307..0d94ae71b 100644
--- a/src/Humanizer.Tests/Localisation/zh-CHS/TimeSpanHumanizeTests.cs
+++ b/src/Humanizer.Tests/Localisation/zh-Hans/TimeSpanHumanizeTests.cs
@@ -2,11 +2,11 @@
using Xunit;
using Xunit.Extensions;
-namespace Humanizer.Tests.Localisation.zhCHS
+namespace Humanizer.Tests.Localisation.zhHans
{
public class TimeSpanHumanizeTests : AmbientCulture
{
- public TimeSpanHumanizeTests() : base("zh-CHS") { }
+ public TimeSpanHumanizeTests() : base("zh-Hans") { }
[Theory]
[InlineData(7, "1 周")]
diff --git a/src/Humanizer.Tests/Localisation/zh-CHT/DateHumanizeTests.cs b/src/Humanizer.Tests/Localisation/zh-Hant/DateHumanizeTests.cs
similarity index 96%
rename from src/Humanizer.Tests/Localisation/zh-CHT/DateHumanizeTests.cs
rename to src/Humanizer.Tests/Localisation/zh-Hant/DateHumanizeTests.cs
index 655c90bcb..99ecb5ca5 100644
--- a/src/Humanizer.Tests/Localisation/zh-CHT/DateHumanizeTests.cs
+++ b/src/Humanizer.Tests/Localisation/zh-Hant/DateHumanizeTests.cs
@@ -1,11 +1,11 @@
using Humanizer.Localisation;
using Xunit.Extensions;
-namespace Humanizer.Tests.Localisation.zhCHT
+namespace Humanizer.Tests.Localisation.zhHant
{
public class DateHumanizeTests : AmbientCulture
{
- public DateHumanizeTests() : base("zh-CHT") { }
+ public DateHumanizeTests() : base("zh-Hant") { }
[Theory]
[InlineData(2, "2 天前")]
diff --git a/src/Humanizer.Tests/Localisation/zh-CHT/TimeSpanHumanizeTests.cs b/src/Humanizer.Tests/Localisation/zh-Hant/TimeSpanHumanizeTests.cs
similarity index 94%
rename from src/Humanizer.Tests/Localisation/zh-CHT/TimeSpanHumanizeTests.cs
rename to src/Humanizer.Tests/Localisation/zh-Hant/TimeSpanHumanizeTests.cs
index 42df0b32d..459c5e158 100644
--- a/src/Humanizer.Tests/Localisation/zh-CHT/TimeSpanHumanizeTests.cs
+++ b/src/Humanizer.Tests/Localisation/zh-Hant/TimeSpanHumanizeTests.cs
@@ -2,11 +2,11 @@
using Xunit;
using Xunit.Extensions;
-namespace Humanizer.Tests.Localisation.zhCHT
+namespace Humanizer.Tests.Localisation.zhHant
{
public class TimeSpanHumanizeTests : AmbientCulture
{
- public TimeSpanHumanizeTests() : base("zh-CHT") { }
+ public TimeSpanHumanizeTests() : base("zh-Hant") { }
[Theory]
[InlineData(7, "1 周")]
diff --git a/src/Humanizer/Configuration/FormatterRegistry.cs b/src/Humanizer/Configuration/FormatterRegistry.cs
index b2392dca1..59f296d81 100644
--- a/src/Humanizer/Configuration/FormatterRegistry.cs
+++ b/src/Humanizer/Configuration/FormatterRegistry.cs
@@ -42,8 +42,8 @@ public FormatterRegistry() : base(new DefaultFormatter("en-US"))
RegisterDefaultFormatter("uz-Latn-UZ");
RegisterDefaultFormatter("uz-Cyrl-UZ");
RegisterDefaultFormatter("zh-CN");
- RegisterDefaultFormatter("zh-CHS");
- RegisterDefaultFormatter("zh-CHT");
+ RegisterDefaultFormatter("zh-Hans");
+ RegisterDefaultFormatter("zh-Hant");
}
private void RegisterDefaultFormatter(string localeCode)
diff --git a/src/Humanizer/Humanizer.csproj b/src/Humanizer/Humanizer.csproj
index 048cef089..46e7911ee 100644
--- a/src/Humanizer/Humanizer.csproj
+++ b/src/Humanizer/Humanizer.csproj
@@ -182,13 +182,11 @@
-
- ResXFileCodeGenerator
- Resources.zh-CHT.Designer.cs
+
+ Resources.zh-Hant.Designer.cs
-
- ResXFileCodeGenerator
- Resources.zh-CHS.Designer.cs
+
+ Resources.zh-Hans.Designer.cs
ResXFileCodeGenerator
diff --git a/src/Humanizer/Properties/Resources.zh-CHS.resx b/src/Humanizer/Properties/Resources.zh-Hans.resx
similarity index 100%
rename from src/Humanizer/Properties/Resources.zh-CHS.resx
rename to src/Humanizer/Properties/Resources.zh-Hans.resx
diff --git a/src/Humanizer/Properties/Resources.zh-CHT.resx b/src/Humanizer/Properties/Resources.zh-Hant.resx
similarity index 100%
rename from src/Humanizer/Properties/Resources.zh-CHT.resx
rename to src/Humanizer/Properties/Resources.zh-Hant.resx