Starts in:
1 DAY
16 HRS
35 MIN
40 SEC
Starts in:
1 D
16 H
35 M
40 S
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


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)

    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.

  • User Avatar
    0
    shobhit created

    Thanks. It's working as expected

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06