Open Closed

How can i add new language in my custom generated module from ABP suite? #4412


User avatar
0
krushnakant created
  • ABP Framework version: v5.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • My requirement is to add new language in my custom generated module from ABP Suite. Is it possible? because that module doesn't contain ABPLanguages table.
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can configure AbpLocalizationOptions in your Domain module. But I recommend you do this in the startup project.

    Configure<AbpLocalizationOptions>(options =>
    {
        options.Languages.Add(new LanguageInfo("en-GB", "en-GB", "English (UK)"));
    });
    
    
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11