Localize a string that contains arguments by providing the arguments using localize-args
@{
var args = new object[] { "http://demo.ziyad.info/en/localize", 8, "Asp.Net Core" }
}
<plocalize-args="args">
Visit <ahref="{0}">demos website</a> to see a collection of {1} demos about "{2}".
</p>
Localized output sample: Visit demos website to see a collection of 8 demos about "Asp.Net Core".
Specify culture
Force specific culture regardless the request culture
<plocalize-culture="tr">
This content will always be localized with TR culture
</p>
Specify resource source
Specify localization resource type using localize-source
<plocalize-source="typeof(MyResourceType)">
This content will be localized from a specific shared resource.
</p>