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