Class LocalizationConfig
Configuration class for adding custom localizations.
Inheritance
System.Object
LocalizationConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
[Obsolete("Use CustomLocalization instead")]
public class LocalizationConfig
Constructors
| Improve this Doc View SourceLocalizationConfig(String)
A new localization for a specific language.
Declaration
public LocalizationConfig(string language)
Parameters
Type | Name | Description |
---|---|---|
System.String | language | Name of the language |
Fields
| Improve this Doc View SourceTranslations
Dictionary of tokens and their respective translation in this configs language.
Declaration
public Dictionary<string, string> Translations
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Properties
| Improve this Doc View SourceLanguage
Language of this localization. Defaults to English.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String |