# Languages

### Available languages out the box

To use one of the 13 built-in language packs, just select the language in the [configurator](https://configurator.jgscripts.com/dealerships).

<table><thead><tr><th width="365">Language</th><th>Code</th></tr></thead><tbody><tr><td>English</td><td>en</td></tr><tr><td>Chinese (Simplified)</td><td>cn</td></tr><tr><td>German</td><td>de</td></tr><tr><td>Spanish</td><td>es</td></tr><tr><td>Hungarian</td><td>hu</td></tr><tr><td>Lithuanian</td><td>lt</td></tr><tr><td>Dutch</td><td>nl</td></tr><tr><td>Norwegian</td><td>no</td></tr><tr><td>Polish</td><td>pl</td></tr><tr><td>Portuguese</td><td>pt</td></tr><tr><td>Turkish</td><td>tr</td></tr><tr><td>Vietnamese</td><td>vi</td></tr></tbody></table>

### Adding a custom language

1. Create a copy of `locales/en.lua` and rename the file to your chosen language code, for example`de.lua` for German.
2. On line 3, also change to your new language code, for example for German:

   `Locales['de'] = {`
3. Now, the long part; translate all the strings as necessary. If you see `%{value}`, you must leave this intact or it will break the script! Also, do not change the variable names!

{% hint style="info" %}
Psst :wink: have you translated the script into your native language? Send it to us, and if we add it as an official language for the script we will give you a free [Pro Scoreboard](https://jgscripts.com/qb-esx-pro-scoreboard.html).
{% endhint %}


---

# 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://docs.jgscripts.com/dealerships/languages.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.
