Commit b3561fde authored by Clint.Network's avatar Clint.Network

services.AddLocalization();

parent 45e0da1a
...@@ -53,6 +53,8 @@ namespace Stratis.Guru ...@@ -53,6 +53,8 @@ namespace Stratis.Guru
services.AddHostedService<FixerService>(); services.AddHostedService<FixerService>();
services.AddHostedService<VanityService>(); services.AddHostedService<VanityService>();
services.AddLocalization();
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1); services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services.AddSignalR(); services.AddSignalR();
...@@ -95,7 +97,7 @@ namespace Stratis.Guru ...@@ -95,7 +97,7 @@ namespace Stratis.Guru
var supportedCultures = new[] var supportedCultures = new[]
{ {
new CultureInfo("en"), new CultureInfo("en"),
new CultureInfo("fr"), new CultureInfo("fr-FR"),
new CultureInfo("ru"), new CultureInfo("ru"),
new CultureInfo("it"), new CultureInfo("it"),
new CultureInfo("de"), new CultureInfo("de"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment