locked
use multi shared localizer resources in asp.net core RRS feed

  • Question

  • User338455301 posted

    i use a shared localizer for all views.

    i dont want create new resource file for any page 

    i want use multi localizer for a group of pages like this : 



    @inject IHtmlLocalizer<itsaco_RefrencenetCoreCMS.ShareResource> SharedLocalizer
    @inject IHtmlLocalizer<itsaco_RefrencenetCoreCMS.ShareResource> HomeLocalizer
    @inject IHtmlLocalizer<itsaco_RefrencenetCoreCMS.ShareResource> ProfileLocalizer
    

     Shared   { For All Views }  
     Home { Index.html , FAQ.html , AboutUs.html , .....}  

     Profile { Index.html , ChangePassword.html , AccessDenid.html , Login.html , Register.html .....}  

    how to do it ?

    Wednesday, August 12, 2020 7:58 AM

All replies