sozsoft-platform/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/LanguagesDomainModule.cs

26 lines
670 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using Sozsoft.Languages.Localization;
using Volo.Abp.Caching.StackExchangeRedis;
using Volo.Abp.Domain;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
namespace Sozsoft.Languages;
[DependsOn(
typeof(AbpDddDomainModule),
typeof(AbpLocalizationModule),
typeof(AbpCachingStackExchangeRedisModule),
typeof(LanguagesDomainSharedModule)
)]
public class LanguagesDomainModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpLocalizationOptions>(options =>
{
options.GlobalContributors.Add<DatabaseLocalizationResourceContributor>();
});
}
}