API

LocalizationManager

SetLanguage

Set current language. Returns true or false if successful.

public bool SetLanguage(string _language)

SetLanguageByISO

Set current language by ISO code.

public bool SetLanguageByISO(string _isoCode)

SetFallbackLanguage

Set language to fallback language

public void SetFallbackLanguage()

GetLocalizedText

public string GetLocalizedText(string _key, params Dictionary<string, object>[] _params)
public string GetLocalizedText(string _key, Type _type, params Dictionary<string, object>[] _params)

GetLocalizedAudioClip

public AudioClip GetLocalizedAudioClip(string _key, Type _type)

GetLocalizedTexture

public Texture2D GetLocalizedTexture(string _key, Type _type)

GetLocalizedSprite

public Sprite GetLocalizedSprite(string _key, Type _type)

GetLocalizedGameObject

public GameObject GetLocalizedGameObject(string _key, Type _type)

Last updated