johnkors / IdentityServer3.Contrib.Localization

Localization support for IdentityServer3
MIT License
19 stars 40 forks source link
identityserver3 localization
master dev latest
master dev NuGet Stable

Contents

Implementation of IdentityServerV3's ILocalizationService.

What does it translate?

Usage


## Supported languages
 * See the [live docs of all translations](http://johnkors.github.io/IdentityServer3.Contrib.Localization/)

## Install

PM> Install-Package IdentityServer3.Localization



NuGet:
https://www.nuget.org/packages/IdentityServer3.Localization

## Contributing

How to add another language:

 * Fork the repo
 * Add the following resource files for your language in the resource folder (for instance by copying the default). ISO codes can be found [here])https://msdn.microsoft.com/en-us/library/ee796272(v=cs.20).aspx)

  1. Events.ISO-code-for-your-translation.resx
  2. Messages.ISO-code-for-your-translation.resx
  3. Scopes.ISO-code-for-your-translation.resx

 * Run the tests and fix any errors so they are green!
 * Rebase off upstream if behind, and submit the Pull Request

## Dependencies

 * Thinktecture.IdentityServer3 - http://www.nuget.org/packages/Thinktecture.IdentityServer3/