# Language Overlays

Language overlays allow you to provide translations of your dialog in other languages. A language overlay provides translations of all the text in a dialog and can optionally adjust the size and position of controls or the dialog itself (to accommodate languages which on average have longer or shorter strings than the “base language” of the dialog). When the user invokes your dialog Opus will automatically select the language overlay to match the user’s current language (if one has been provided).

The **Language overlays** command ( ![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-2cef6c89b2a8c05ad0b6c12f8122693f3a69cc00%2Fimage108.png?alt=media) ) is modal. Turn it on to edit language overlays, and off again to go back to the regular design mode. In language overlay mode, the *Control palette* will change to display a list of configured language overlays.

![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-c6af016cb6b2ccb7eb31fbaff04db766bb434428%2Fimage133.png?alt=media)

To add a new overlay, click the **Add New Language** item. A dialog will prompt you to select the language you wish to create an overlay for, and also which language you want to copy the overlay from initially. To edit an existing overlay, simply select it from the list.

While editing a language overlay the properties for selected controls are reduced – only the title can be edited. You can reposition and resize controls and the dialog, but you can’t add or remove any controls.


---

# 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://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_editor/editors/dialog_editor/language_overlays.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.
