Activities of "lba"

  • ABP Framework version: v8.2.2
  • UI Type: Blazor Server
  • Database System: EF Core
  • Steps to reproduce the issue:
    • Using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton, insert MenuItem into navigation bar.
    • Navigate to the page the item points to by other means (like HTML anchor element).

When using the navigation bar to navigate, the corresponding MenuItem is set as "current".

We use custom CSS to indicate to the user which part of the application they're currently at (green underline, as seen in the images above). The user may also be redirected to a different part of the application when interacting with elements outside of the navigation bar. In that case, the corresponding MenuItem is not set as "current" (as shown in the image below).

How can this behaviour of setting a MenuItem as "current" be replicated when using other means (like HTML anchor element) to navigate to the same page?

Using the code you provided and configuring it in the module as follows works perfectly.

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.AddSingleton<IDynamicResourceLocalizer, MyDynamicResourceLocalizer>();
}

We can now login without a tenant to update and localize our text which will then display as expected for all tenants.

Thank you!

Hi liangshiwei, thank you for your suggestion! I will check if this solves our problem and report back sometime around the middle of next week.

  • ABP Framework version: v7.2.2
  • UI Type: Blazor Server
  • Database System: EF Core
  • Steps to reproduce the issue:
    • Using Volo.LanguageManagement, change value for the key of a text
    • Login with tenant

When using Volo.LanguageManagement to update texts, the changes are not reflected when switching between tenants.

Example We want to change the text from "New Project" in the header to "hello"

Upon saving, the text was changed without any issues.

However, when logging in with a tenant, the header still displays "New Project", as the value appears unchanged in the language management module.

How can we use the language management module for tenant-independent localization?

Showing 11 to 14 of 14 entries
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.1.0-preview. Updated on December 05, 2025, 12:34
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.