0
keepfool created
I have some controllers under Areas (e.g. Master), but I can't call the @L("SomeString") method in its view page. If I create a controller under Controllers folder, then I can use the @L("SomeString") method to get the localized string. So how can I use @L method in the views of controllers under areas.
1 Answer(s)
-
0
You should set pageBaseType to your viewbase in web.config of your area. Example: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-templates/blob/master/src/AbpCompanyName.AbpProjectName.WebSpaAngular/Views/web.config#L13">https://github.com/aspnetboilerplate/as ... config#L13</a>