Skip to main content

Class DefaultLocalizeService

Declaration
public class DefaultLocalizeService : BaseLocalizeHelper, ILocalizeService, ILocalizeHelper

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

Implements:
MatchinghamGames.Localization.Models.ILocalizeService, MatchinghamGames.Localization.Models.ILocalizeHelper

Methods

LoadData(string)

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

ImportLanguage(string, string)

Declaration
protected void ImportLanguage(string languageCode, string md5Hash)
Parameters
TypeName
System.StringlanguageCode
System.Stringmd5Hash

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

InvokeLanguageChangeWhenReady()

Declaration
public virtual void InvokeLanguageChangeWhenReady()

Implements