25 lines
662 B
C#
25 lines
662 B
C#
using Erp.Languages.Localization;
|
|
using Volo.Abp.Caching.StackExchangeRedis;
|
|
using Volo.Abp.Domain;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Erp.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>();
|
|
});
|
|
}
|
|
}
|
|
|