---
updatedAt: 2026-05-04T11:52:18.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# i18n/

In the previous example of [manifest.json](https://developers.kommo.com/docs/manifest-json), we've seen that certain parameters require values in the form of **widget.name**, **widget.description**, **advanced.title**. These values are necessary if the widget is designed to support multiple languages.

In such cases, you need to create localization files for each supported language. Kommo currently supports English, Spanish, Portuguese, Turkish and Indonesian languages, and the files should be named **en.json**, **es.json**, **pt.json**, **tr.json** and **id.json** respectively. These files should be placed in the **i18n** folder. Depending on the account's language, messages will be displayed in the appropriate language for both the UI/UX and the backend.

<Callout icon="👉" theme="default">
  If you are using two localizations, both **i18n** files must have the same structure.
</Callout>

# Example

## i18n/en.json

```json
{
    "widget":{
        "name":"My Widget",
        "short_description":"Short description",
        "description":"Full description",
        "tour_description":"Tour description"
    },
    "settings":{
        "login":"User login",
        "api_key":"API key",
        "account":"Account"
    }
}
```

<br />

These localizations will appear in the settings of the integration modal window in the two languages.

<Image align="center" alt="In English" border={true} src="https://files.readme.io/d382459-Screenshot_2024-07-04_at_13.27.15.png" width="700px" />

Furthermore, the localization files are used in the widget's JavaScript part. To extract an object from the language files, you should use `self.i18n('key')`, where 'key' is the name of the object you want to extract and its value is present in the localization file.

For instance, if you want to get the widget name in the JS, you can use `self.i18n('widget').name`.

You can find more information about this method in the [widget's script.JS](https://kommo.readme.io/docs/script-js).