Locale

Namespace: uModLibraries

Assembly: uMod.Core.dll

Inheritance ObjectLibrary Locale

Implements ILibrary, ISingleton

Summary

Represents a library containing localization functions

Constructors

Name

Summary

Locale (IApplication)

Methods

Name

Summary

GetLocale<T> (INameable)

Gets locale of generic type for the specified plugin

GetLocale<T> (String, INameable)

Gets locale of the generic type for the specified language and plugin

GetLocale (Type, String, INameable)

Gets locale of the specified type for the specified language and plugin

GetLocaleNames (INameable)

Get locale names for the specified plugin

GetLocales (Type, IEnumerable<String>, INameable)

Gets a dictionary of locales for the specified languages and locale type

RegisterLocale (ILocale, INameable, String)

Registers specified locale for specified plugin

SetProvider (IAuthManager)

Sets auth manager