> For the complete documentation index, see [llms.txt](https://docs.fivemcustoms.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fivemcustoms.com/it/fc-lspdbadge/languages.md).

# Lingue

35 lingue incluse, e aggiungerne una nuova richiede un paio di minuti.

Scegli la lingua in `config.lua`:

```lua
Config.Locale = 'it'
```

Cambia tutti i testi dello script: menu, notifiche, schermata della foto e nome dell'item nell'inventario.

## Lingue disponibili

| Codice  | Lingua             |
| ------- | ------------------ |
| `en`    | English            |
| `it`    | Italiano           |
| `de`    | Deutsch            |
| `fr`    | Français           |
| `es`    | Español            |
| `pt`    | Português          |
| `pt-br` | Português (Brasil) |
| `nl`    | Nederlands         |
| `pl`    | Polski             |
| `cs`    | Čeština            |
| `sk`    | Slovenčina         |
| `hu`    | Magyar             |
| `ro`    | Română             |
| `bg`    | Български          |
| `hr`    | Hrvatski           |
| `sr`    | Srpski             |
| `sl`    | Slovenščina        |
| `el`    | Ελληνικά           |
| `tr`    | Türkçe             |
| `ru`    | Русский            |
| `uk`    | Українська         |
| `sv`    | Svenska            |
| `da`    | Dansk              |
| `no`    | Norsk              |
| `fi`    | Suomi              |
| `lt`    | Lietuvių           |
| `ar`    | العربية            |
| `he`    | עברית              |
| `zh-cn` | 简体中文               |
| `zh-tw` | 繁體中文               |
| `ja`    | 日本語                |
| `ko`    | 한국어                |
| `th`    | ไทย                |
| `vi`    | Tiếng Việt         |
| `id`    | Bahasa Indonesia   |

## Aggiungere una lingua

1. Copia `locales/en.json`.
2. Rinominalo con il codice della tua lingua, per esempio `et.json`.
3. Traduci i valori a destra, mai le chiavi a sinistra.
4. Lascia `%s` e `%d` dove sono, vengono sostituiti con numeri e nomi.
5. Imposta il nuovo codice nel config:

{% code title="config.lua" %}

```lua
Config.Locale = 'et'
```

{% endcode %}

{% hint style="info" %}
Ogni testo che non traduci viene mostrato in inglese, quindi lasciare fuori una riga non rompe niente. Se il JSON ha un errore di sintassi, la console ti dice quale file è rotto e viene usato l'inglese.
{% endhint %}

## Testi del tesserino

Il tesserino in sé è sempre in inglese, come un vero documento americano. Quei testi si trovano in `Config.Card`, vedi [Configurazione](/it/fc-lspdbadge/configuration.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.fivemcustoms.com/it/fc-lspdbadge/languages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
