Hi,
does anyone know how to use localizer instance within
Here is the code:
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer localizer
@{
ViewData["Title"] = "Create";
}
Hi,
does anyone know how to use localizer instance within
Here is the code:
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer localizer
@{
ViewData["Title"] = "Create";
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pasang TamangPosted Jan 26, 2023, 3:27 AM
Hi,
For localization please check this article https://www.c-sharpcorner.com/article/globalization-and-localization-in-net-core/. This have good explanation with example code.
Regards,
Pasang