# Localization

## 🌎 Supported Locale Codes

Use the `lang` parameter to localize the **Tyr SDK** UI/content. Supported values follow standard **ISO 639-1** language codes:

{% hint style="success" %}
**Note:** If the `lang` parameter is not provided, the default language will be determined from the **JWT payload**.
{% endhint %}

#### 🚩 Available Languages

<table><thead><tr><th width="172.6640625">Locale Code</th><th>Language</th></tr></thead><tbody><tr><td>🇺🇸 <code>en</code></td><td>English</td></tr><tr><td>🇮🇩 <code>id</code></td><td>Indonesian</td></tr><tr><td>🇯🇵 <code>ja</code></td><td>Japanese</td></tr><tr><td>🇰🇷 <code>ko</code></td><td>Korean</td></tr><tr><td>🇪🇸 <code>es</code></td><td>Spanish</td></tr><tr><td>🇩🇪 <code>de</code></td><td>German</td></tr><tr><td>🇨🇳 <code>zh-Hans-CN</code></td><td>Chinese</td></tr><tr><td>🇫🇷 <code>fr</code></td><td>French</td></tr></tbody></table>

#### Example Usage

You can set the language of the SDK content by appending the `lang` parameter to the URL:

```html
<!-- This URL will display the SDK content in Japanese -->
https://sdk.tyrads.com?token=<TOKEN>&lang=ja
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk-doc.tyrads.com/v3.0/iframe/overview/localization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
