> For the complete documentation index, see [llms.txt](https://innuendopi.gitbook.io/brautomat32/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://innuendopi.gitbook.io/brautomat32/sprache.md).

# Translate the Brautomat

To add a new UI language:

1. Copy `data/language/de.json`.
2. Rename it with a two-letter code, for example:
   * Spanish: `es.json`
   * French: `fr.json`
   * Danish: `dk.json`
   * Dutch: `nl.json`

Translate the values (text after `:`) in the new file:

```bash
{
  "SAVE": "archivo",
  "CLOSE": "cerrar"
}
```

Upload the new file to `/language` on Brautomat via the file explorer in the web interface.

Then register the locale in `/lang.js`:

```bash
const supportedLocales = ["de", "en"];  // language files
```

Example for Spanish:

```bash
const supportedLocales = ["de", "en", "es"];  // language files
```

Save (`Ctrl+S`) and restart Brautomat. The new language can then be selected in the web interface.

If you want to share your translation, send the language file or a correction patch.


---

# 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:

```
GET https://innuendopi.gitbook.io/brautomat32/sprache.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.
