Localization.AspNetCore.TagHelpers
Localization.AspNetCore.TagHelpers copied to clipboard
Asp.Net Core Tag Helpers to use when localizing Asp.Net Core application instead of manually injecting IViewLocator
Localization.AspNetCore.TagHelpers
| Service | Status |
|---|---|
| AppVeyor | |
| CLA Assistant | |
| Codecov | |
| Dependabot | |
| GitHub | |
| NuGet |
Asp.Net Core Tag Helpers to use when localizing Asp.Net Core application instead of manually injecting IViewLocator
Where to get it
Official published version are available on NuGet or on the GitHub Release page.
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>
You can read more about this on the Documentation page. Please also see the Demo projects in the source repository for a working templates with the use of these localization helpers (based on default asp.net core templates)
Contributors
Thanks goes to these wonderful people (emoji key):
Kim J. Nordmo 🚧 |
The Gitter Badger 📖 |
README Bot 📖 |
Muhammad Azeez 🤔 💻 |
dependabot[bot] 💻 |
whitesource-bolt-for-github[bot] 🛡️ |
transifex-integration[bot] 🌍 |
This project follows the all-contributors specification. Contributions of any kind welcome!