# sm.gui.translateLocalizationTags

Translates all localization tags in a text using the current language.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.translateLocalizationTags( text )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.gui.md#translatelocalizationtags)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `text` | string | The text containing localization tags |

**Returns:**

| Type | Description |
| --- | --- |
| string | The text with translated tags |
