Localization.AspNetCore.TagHelpers 0.5.0
Asp.Net Core Tag Helpers to use when localizing Asp.Net Core applications instead of manually injecting IViewLocator.
Usage
To use these tag helpers add the following to your `_ViewImports.cshtml` file
@addTagHelper *, Localization.AspNetCore.TagHelpers
The package currently supports three tag helpers with the following usage cases:
Usage with the tag name `<localize>Text to localize</localize>`
Usage with a html attribute `<span localize>Text to localize</localize>`
Ability to localize html attribute using the following: `<span localize-title='I'm the title to localize'>This won't</span>`
Please see the documentation for all available attributes and their usage:
https://wormiecorp.github.io/Localization.AspNetCore.TagHelpers/docs/helpers
No packages depend on Localization.AspNetCore.TagHelpers.
.NET Standard 2.0
- Microsoft.AspNetCore.Mvc.Localization (>= 2.1.3)
- Microsoft.AspNetCore.Razor.Runtime (>= 2.1.2)
Version | Downloads | Last updated |
---|---|---|
0.5.0 | 32 | 10/25/2022 |