Skip to main content

Class BasicLocalizeHelper

Declaration
public class BasicLocalizeHelper : BaseLocalizeHelper, ILocalizeHelper

Inheritance: System.Object -> MatchinghamGames.Localization.Helpers.BaseLocalizeHelper

Implements:
MatchinghamGames.Localization.Models.ILocalizeHelper

Properties

DataStore

Declaration
public BaseDataStore DataStore { get; }

Methods

LoadData(string)

Declaration
protected override void LoadData(string targetLanguageCode)
Parameters
TypeName
System.StringtargetLanguageCode

UnloadData()

Declaration
protected override void UnloadData()

Get(string, string)

Declaration
public override string Get(string key, string fallback = "")
Returns

System.String

Parameters
TypeName
System.Stringkey
System.Stringfallback

GetFormatted(string, string, string)

Declaration
public override string GetFormatted(string key, string args0, string fallback)
Returns

System.String

Parameters
TypeName
System.Stringkey
System.Stringargs0
System.Stringfallback

GetFormatted(string, string, string, string)

Declaration
public override string GetFormatted(string key, string args0, string args1, string fallback)
Returns

System.String

Parameters
TypeName
System.Stringkey
System.Stringargs0
System.Stringargs1
System.Stringfallback

GetFormatted(string, string, string, string, string)

Declaration
public override string GetFormatted(string key, string args0, string args1, string args2, string fallback)
Returns

System.String

Parameters
TypeName
System.Stringkey
System.Stringargs0
System.Stringargs1
System.Stringargs2
System.Stringfallback

TryGet(string, out string)

Declaration
public override bool TryGet(string key, out string value)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey
System.Stringvalue

Implements