From e775c19e7c9092725368773bc3a1ea4db300a564 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 21 Aug 2017 16:14:07 +1000 Subject: [PATCH 1/2] U4-2449 Feature request: Change the default admin users lang to en-us --- .../Persistence/Migrations/Initial/BaseDataCreation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Persistence/Migrations/Initial/BaseDataCreation.cs b/src/Umbraco.Core/Persistence/Migrations/Initial/BaseDataCreation.cs index 3ff8ecaa56..c6fadc1dd8 100644 --- a/src/Umbraco.Core/Persistence/Migrations/Initial/BaseDataCreation.cs +++ b/src/Umbraco.Core/Persistence/Migrations/Initial/BaseDataCreation.cs @@ -169,7 +169,7 @@ namespace Umbraco.Core.Persistence.Migrations.Initial private void CreateUmbracoUserData() { - _database.Insert("umbracoUser", "id", false, new UserDto { Id = 0, Disabled = false, NoConsole = false, UserName = "Administrator", Login = "admin", Password = "default", Email = "", UserLanguage = "en", CreateDate = DateTime.Now, UpdateDate = DateTime.Now }); + _database.Insert("umbracoUser", "id", false, new UserDto { Id = 0, Disabled = false, NoConsole = false, UserName = "Administrator", Login = "admin", Password = "default", Email = "", UserLanguage = "en-US", CreateDate = DateTime.Now, UpdateDate = DateTime.Now }); } private void CreateUmbracoUserGroupData() From 780776072dfc87cfb35ec6fb9589f6f918d13881 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 24 Aug 2017 21:03:31 +0200 Subject: [PATCH 2/2] Update umbracoDefaultUILanguage to en-US --- build/NuSpecs/tools/Web.config.install.xdt | 1 + src/Umbraco.Web.UI/web.Template.config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/NuSpecs/tools/Web.config.install.xdt b/build/NuSpecs/tools/Web.config.install.xdt index 315fbf8890..5ee5ed32c6 100644 --- a/build/NuSpecs/tools/Web.config.install.xdt +++ b/build/NuSpecs/tools/Web.config.install.xdt @@ -24,6 +24,7 @@ + diff --git a/src/Umbraco.Web.UI/web.Template.config b/src/Umbraco.Web.UI/web.Template.config index cc06d4145d..ee8d98cae3 100644 --- a/src/Umbraco.Web.UI/web.Template.config +++ b/src/Umbraco.Web.UI/web.Template.config @@ -48,7 +48,7 @@ - +