4 changed files with 34 additions and 1 deletions
@ -1,10 +1,25 @@ |
|||
using Volo.Abp.Domain; |
|||
using LINGYUN.Abp.AIManagement.Localization; |
|||
using Volo.Abp.Domain; |
|||
using Volo.Abp.Localization; |
|||
using Volo.Abp.Modularity; |
|||
using Volo.Abp.VirtualFileSystem; |
|||
|
|||
namespace LINGYUN.Abp.AIManagement; |
|||
|
|||
[DependsOn(typeof(AbpDddDomainSharedModule))] |
|||
public class AbpAIManagementDomainSharedModule : AbpModule |
|||
{ |
|||
public override void ConfigureServices(ServiceConfigurationContext context) |
|||
{ |
|||
Configure<AbpVirtualFileSystemOptions>(options => |
|||
{ |
|||
options.FileSets.AddEmbedded<AbpAIManagementDomainSharedModule>(); |
|||
}); |
|||
|
|||
Configure<AbpLocalizationOptions>(options => |
|||
{ |
|||
options.Resources.Add<AIManagementResource>() |
|||
.AddVirtualJson("/LINGYUN/Abp/AIManagement/Localization/Resources"); |
|||
}); |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,8 @@ |
|||
using Volo.Abp.Localization; |
|||
|
|||
namespace LINGYUN.Abp.AIManagement.Localization; |
|||
|
|||
[LocalizationResourceName("AIManagement")] |
|||
public class AIManagementResource |
|||
{ |
|||
} |
|||
@ -0,0 +1,5 @@ |
|||
{ |
|||
"culture": "en", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -0,0 +1,5 @@ |
|||
{ |
|||
"culture": "zh-Hans", |
|||
"texts": { |
|||
} |
|||
} |
|||
Loading…
Reference in new issue