# API

## LocalizationManager

### SetLanguage

Set current language. Returns true or false if successful.

```csharp
public bool SetLanguage(string _language)
```

### SetLanguageByISO

Set current language by ISO code.

```csharp
public bool SetLanguageByISO(string _isoCode)
```

### SetFallbackLanguage

Set language to fallback language

```csharp
public void SetFallbackLanguage()
```

### GetLocalizedText

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

### GetLocalizedAudioClip

```csharp
public AudioClip GetLocalizedAudioClip(string _key, Type _type)
```

### GetLocalizedTexture

```csharp
public Texture2D GetLocalizedTexture(string _key, Type _type)
```

### GetLocalizedSprite

```csharp
public Sprite GetLocalizedSprite(string _key, Type _type)
```

### GetLocalizedGameObject

```csharp
public GameObject GetLocalizedGameObject(string _key, Type _type)
```
