Info
Version: | 1.0.8 |
Author(s): | Yasin Kuyu |
Last Update: | Thursday, January 28, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/yasinkuyu/Localization |
NuGet Url: | https://www.nuget.org/packages/Localization |
Install
Install-Package Localization
dotnet add package Localization
paket add Localization
Localization Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Usage
<li>@Html.ActionLinkLocalization("English", "Index", "Locales", new { lang = "en_US" })</li>
<li>@Html.ActionLinkLocalization("Türkçe", "Index", "Locales", new { lang = "tr_TR" })</li>
Or
<a href="Locales/?lang=en_US">English</a>
<a href="Locales/?lang=tr_TR">Türkçe</a>
Index.cshtml
@Html.Get("homepage") or @Html.Localize("homepage")
Video tutorial
https://github.com/yasinkuyu/Localization.