Open Closed

[BUG]: Logon/Logout-Redirect Pages incorrectly display a flag Icon when there is a single language #3280


User avatar
0
barrett2474 created

Example Setup: Remove or disable all languages except English in the Admin console. Logout, clear all cookies, Log back in. Expected: The login/logged out redirection pages should respect the fact that there is no choice for languages and not show the flag icon Actual: The Login page when displayed show the 1 language enabled

The Blazor client works OK.

  • ABP Framework version: v5.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    hi

    You can override the LanguageSwitchcomponent.

    lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\Default.cshtml

    lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\LanguageSwitchViewComponent.cs

    Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Toolbar.LanguageSwitch.LanguageSwitchViewComponent

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    barrett2474 created

    OK, thanks for the answer. may I suggest making the developer do a little less heavy lifting to merely hide a icon in the same way the Web UI does. Happy to close.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I created an internal issue.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    barrett2474 created

    Really! - oh that is great. Really appreciate your help - very happy with how everything is going with ABP -- please pass on my compliments to the Team.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.