> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/message/message_-lang.md).

# Message\_\[LANG]

<mark style="color:green;">Game message texts (notifications, event results, etc.), with one file per language: English, Portuguese, and Spanish. All three share the exact same format.</mark>

| Column  | Accepted Values ​​ | Description                                                                                                                                                             |
| ------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Index   | Number             | Identifies the message. **Must be the same number in all three files** so that the message at `Index` X in one file corresponds to the translation in the others.       |
| Message | Text in quotes     | The message text in the specific language of that file. It may contain `%d` (number) and `%s` (text) placeholders, which the game fills in when displaying the message. |

### <mark style="color:yellow;">Notes</mark>

* The game automatically selects which of the three files to use for each player based on their account or client language settings—this is not defined here.
* Translation relies on the **English text**, not just the number: the server takes the English message, searches for identical text within `Message_Eng.txt` to identify the `Index`, and only then looks up that same `Index` in `Message_Por.txt` or `Message_Spn.txt`. Consequently:
  * Two different messages with the **exact same text** in `Message_Eng.txt` can lead to incorrect translations (the server cannot distinguish which one you intended).
  * `Message_Por.txt` and `Message_Spn.txt` must use the **same number and order** of `%d`/`%s` placeholders as `Message_Eng.txt` for a given `Index`—values ​​are populated after translation, using the original message as a template.
* Unused indices contain a blank space (`" "`) simply to avoid gaps in the numbering sequence.
