Skip to content

Asp.Net Core Tag Helpers to use when localizing Asp.Net Core application instead of manually injecting IViewLocator

License

Notifications You must be signed in to change notification settings

WormieCorp/Localization.AspNetCore.TagHelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Localization.AspNetCore.TagHelpers

All Contributors

Liberapay receiving Join the chat at https://gitter.im/WormieCorp/Localization.AspNetCore.TagHelpers

Service Status
AppVeyor AppVeyor Build Status
CLA Assistant CLA assistant
Codecov Codecov Coverage Report
Dependabot Dependabot SemVer Stability
GitHub GitHub Latest release
NuGet NuGet Latest release

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!