new db ops methods
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.AspNetCore.Mvc.Localization;
|
||||
using FluentValidation;
|
||||
using Microsoft.AspNetCore.Mvc.Localization;
|
||||
using Microsoft.AspNetCore.Mvc.Razor;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -12,6 +13,8 @@ internal class ZeroLocalizationModule : ZeroModule
|
||||
{
|
||||
// hint: think about using https://github.com/nuages-io/nuages-localization
|
||||
|
||||
ValidatorOptions.Global.LanguageManager.AddGermanOverrides();
|
||||
|
||||
services.AddScoped<ICultureResolver, CultureResolver>();
|
||||
services.AddScoped<ICultureService, CultureService>();
|
||||
services.AddScoped<ILocalizer, ConfigurationLocalizer>();
|
||||
|
||||
Reference in New Issue
Block a user