/IdentityServer3.Contrib.Localization

Localization support for IdentityServer3

Primary LanguageC#MIT LicenseMIT

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

  • English (the default provided by the DefaultLocalizationService)
  • nb-NO (Norwegian Bokmål)
  • tr-TR (Turkish)
  • pirate (yarr)

Install

  PM> Install-Package IdentityServer3.Localization

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

Dependencies