How can I edit ARB file metadata like descriptions and placeholder definitions?

In ARB files, you can define metadata for each translation ID, including descriptions and placeholders:

{
    "welcomeMessage": "Welcome, {user}!",
    "@welcomeMessage": {
        "description": "A welcome message displayed to the user",
        "placeholders": {
            "user": {
                "type": "String",
                "description": "Name of the user",
                "example": "Alice"
            }
        }
    }
}

You can add or modify this metadata directly in BabelEdit using the icons located to the right of each translation entry:

edit arb placeholders

BabelEdit reads metadata only from the source language ARB file. Before editing metadata, make sure to set the source language correctly via ToolbarLanguagesSource Language. Metadata from other language files is ignored.