menus-and-localization
Installation
SKILL.md
ABP Menus & Localization
The shared, UI-agnostic mechanism ABP uses for navigation menus and localization resources/json. The Blazor, Angular, and MVC UI skills all point here for the menu contribution and json-translation rules.
When to Use
- Adding or editing navigation menu items with
IMenuContributor/ApplicationMenuItem. - Adding keys to
Localization/**/en.jsonand translating them into the sibling culture json files. - Consuming localized strings via
IStringLocalizer<TResource>in C# orL["Key"]in Razor.
When Not to Use
- Framework-specific UI wiring — Blazor components/render models (blazor-ui), Angular routes and the
abpLocalizationpipe (angular-ui), MVC tag helpers and bundling (mvc-razor-ui). Those skills point here for the shared menu + localization backend. - Defining backend permissions — use the permissions-and-authorization skill.
Contributing menu items
Implement IMenuContributor (namespace Volo.Abp.UI.Navigation) and register it in your module's AbpNavigationOptions.