...
Here's an example of localizing text "Create an account" and "Log in" in a Razor view:
Code Block | ||||
---|---|---|---|---|
| ||||
<ul class="nav navbar-nav"> <li class="dropdown messages-menu hidden-xs"> @Html.ActionLink("[[[Create an account]]]", "Register", "Account", new { area = string.Empty }, htmlAttributes: new { id = "registerLink" }) </li> <li class="dropdown messages-menu hidden-xs"> @Html.ActionLink("[[[Log in]]]", "Login", "Account", new { area = string.Empty }, htmlAttributes: new { id = "loginLink" }) </li> </ul> |
...