Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 3.49 KB

File metadata and controls

73 lines (50 loc) · 3.49 KB

master:master dev:dev NuGet Stable Downloads

Contents

Implementation of IdentityServerV3s ILocalizationService

Usage

Specific culture:

   var options = new LocaleOptions { Locale = "nb-NO" };
   var localizationService = new GlobalizedLocalizationService(options);

To use IdentityServer3s default provided localization:

   var localizationService = new GlobalizedLocalizationService();

Pirate culture:

   var options = new LocaleOptions { Locale = "pirate" }; // ye be warned!
   var localizationService = new GlobalizedLocalizationService(options);

Supported languages

Install

  PM> Install-Package IdentityServer3.Localization

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

Contributing

How to add another language:

  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