diff --git a/DysonNetwork.Sphere/Dockerfile b/DysonNetwork.Sphere/Dockerfile
index 8ac5eb6..22de8fc 100644
--- a/DysonNetwork.Sphere/Dockerfile
+++ b/DysonNetwork.Sphere/Dockerfile
@@ -14,7 +14,8 @@ RUN dotnet build -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
-RUN dotnet publish -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+RUN mkdir -p /app/publish/zh-Hans
+RUN dotnet publish -c $BUILD_CONFIGURATION -o /app/publish
FROM base AS final
WORKDIR /app
diff --git a/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj b/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
index b4e0431..63d038f 100644
--- a/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
+++ b/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
@@ -7,6 +7,7 @@
enable
Linux
cfdec342-d2f2-4a86-800b-93f0a0e4abde
+ en-US;zh-Hans
@@ -15,131 +16,137 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- .dockerignore
-
+
+ .dockerignore
+
-
+
-
- ResXFileCodeGenerator
- SharedResource.Designer.cs
-
-
- ResXFileCodeGenerator
- AccountEventResource.Designer.cs
-
-
- ResXFileCodeGenerator
- AccountEventResource.Designer.cs
-
-
- ResXFileCodeGenerator
- SharedResource.Designer.cs
-
-
- ResXFileCodeGenerator
- LandingEmail.Designer.cs
-
-
- ResXFileCodeGenerator
- NotificationResource.Designer.cs
-
-
- ResXFileCodeGenerator
- Email.LandingResource.Designer.cs
-
-
-
-
-
-
-
+
+ ResXFileCodeGenerator
+ SharedResource.Designer.cs
+
+
+ ResXFileCodeGenerator
+ AccountEventResource.Designer.cs
+
+
+ ResXFileCodeGenerator
+ AccountEventResource.Designer.cs
+
+
+ ResXFileCodeGenerator
+ SharedResource.Designer.cs
+
+
+ ResXFileCodeGenerator
+ LandingEmail.Designer.cs
+
+
+ ResXFileCodeGenerator
+ NotificationResource.Designer.cs
+
+
+ ResXFileCodeGenerator
+ Email.LandingResource.Designer.cs
+
+
+ SharedResource.resx
+
+
+ AccountEventResource.resx
+
+
+ EmailResource.resx
+
+
+ NotificationResource.resx
+
-
- True
- True
- AccountEventResource.resx
-
-
- True
- True
- SharedResource.resx
-
-
- True
- True
- LandingEmailResource.resx
-
-
- True
- True
- NotificationResource.resx
-
+
+ True
+ True
+ AccountEventResource.resx
+
+
+ True
+ True
+ SharedResource.resx
+
+
+ True
+ True
+ LandingEmailResource.resx
+
+
+ True
+ True
+ NotificationResource.resx
+
- <_ContentIncludedByDefault Remove="app\publish\appsettings.json" />
- <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.deps.json" />
- <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.runtimeconfig.json" />
- <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.staticwebassets.endpoints.json" />
- <_ContentIncludedByDefault Remove="app\publish\Keys\Solian.json" />
- <_ContentIncludedByDefault Remove="app\publish\package-lock.json" />
- <_ContentIncludedByDefault Remove="app\publish\package.json" />
+ <_ContentIncludedByDefault Remove="app\publish\appsettings.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.deps.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.runtimeconfig.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\DysonNetwork.Sphere.staticwebassets.endpoints.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\Keys\Solian.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\package-lock.json"/>
+ <_ContentIncludedByDefault Remove="app\publish\package.json"/>
diff --git a/DysonNetwork.Sphere/Program.cs b/DysonNetwork.Sphere/Program.cs
index 1e41513..295157b 100644
--- a/DysonNetwork.Sphere/Program.cs
+++ b/DysonNetwork.Sphere/Program.cs
@@ -63,8 +63,8 @@ builder.Services.Configure(options =>
{
var supportedCultures = new[]
{
- new CultureInfo("en-us"),
- new CultureInfo("zh-hans"),
+ new CultureInfo("en-US"),
+ new CultureInfo("zh-Hans"),
};
options.SupportedCultures = supportedCultures;