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)"));
    });
    
    
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08