Open Closed

Language Flag change #3750


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

  • Steps to reproduce the issue:"

Hi Team. how i can change the language flag from GB to US, in identity page and app angular page i.e. in complete application for english language

image.png


2 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Search the code below in your project.

    options.Languages.Add(new LanguageInfo("en", "en", "English)

    Screen Shot 2022-09-23 at 18.49.07.png

    In the files found, you can change the code similar to the code below and use it according to you.

    options.Languages.Add(new LanguageInfo("en", "en", "English", flagIcon: "gb"));

    Finally, you may need to manually update the AbpLanguages table in your database, or if you can delete your database, you can delete it and run DbMigrator project again.

    Screen Shot 2022-09-23 at 18.55.42.png

  • User Avatar
    0
    shobhit created

    Thanks. It's working as expected

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 25, 2025, 11:10