Show / Hide Table of Contents

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 Source

LocalizationConfig(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 Source

Translations

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 Source

Language

Language of this localization. Defaults to English.
Declaration
public string Language { get; set; }
Property Value
Type Description
System.String

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾