打开 关闭

Language Flag change #3750


User avatar
0
shobhit 创建
  • 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 答案
  • User Avatar
    0
    berkansasmaz 创建
    支持团队 .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 创建

    Thanks. It's working as expected

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11