Open Closed

Bug: Localization is not set up in menu Displayname when creating a new module #5315


User avatar
0
rafael.gonzales created
  • ABP Framework version: v7.2.2

  • UI type: MVC

  • DB provider: EF Core

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

  • Exception message and stack trace:

  • Steps to reproduce the issue:

  • Create a MVC non tiered application using EntityFramework Core with PostgreSQL

  • Create a new Module using ABP Suite (Check on add to the solution feature)

  • Confirm that there is no localization in Displayname in the following path
    YourSolution\Modules\src\ModuleName.Web\Menus\ModuleNameMenuContributor.cs

It should contain a variable with the Localization feature like the following image.

If this is not added. It will not use the "Menu:DemoModule" localization strings in any of the JSON files for the different languages.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    This is not a bug, but we will enhance the module template, thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38