Base solution for your next web application
Open Closed

question on public site #11007


User avatar
0
murphymj5209 created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 11.1
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net6

I 'think' I am creating a good public web page but the header is not correct and I am using IIS express

Here is my code: public override void SetNavigation(INavigationProviderContext context) { var frontEndMenu = new MenuDefinition(MenuName, new FixedLocalizableString("Frontend menu")); context.Manager.Menus[MenuName] = frontEndMenu;

        frontEndMenu

            //HOME
            .AddItem(new MenuItemDefinition(
                FrontEndPageNames.Home,
                L("Home"),
                url: ""
                )

            //Contact
            ).AddItem(new MenuItemDefinition(
                FrontEndPageNames.Contact,
                L("Contact"),
                url: "Contact"
                )

            //PrivacyPolicy
            ).AddItem(new MenuItemDefinition(
                    FrontEndPageNames.PrivacyPolicy,
                    L("PrivacyPolicy"),
                    url: "PrivacyPolicy"
                )

            //References
            ).AddItem(new MenuItemDefinition(
                FrontEndPageNames.References,
                L("References"),
                url: "References"
                )

             //TermsAndCondition
             ).AddItem(new MenuItemDefinition(
                FrontEndPageNames.TermsAndCondition,
                L("TermsAndCondition"),
                url: "TermsAndCondition"
                )
           
            );
    }

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @murphymj5209

    It seems like those texts are not localized. Did you add localization to "aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Localization/{YOUR_PROJECT_NAME}/{YOUR_PROJECT_NAME}.xml" ?