Skip to main content

Translations

One file per language in painel-dev/traducoes/. The name is the language code: pt-BR.json, en.json, es.json, fr.json, ja.json…
painel-dev/traducoes/en.json

Use a translation

Write @t.key in any text: label, group, welcome, screen titles and paragraphs.
The final text follows this order: chosen language → Portuguese (BR) → the key itself.

Extra language

Create the file (e.g. fr.json with "@lang": "Français"). It shows up by itself in the Dev panel language choice. The Translations screen shows, for each language, the keys missing compared with Portuguese (BR).

Icons

Use the names below in icon (menu, dt-stat, dt-alert, dt-button). Any other name is an error.
The same list is in painel-dev/icones.md, for the AI.

Validation

1

Validate a branch

dev_panel_validate with script_id and ref (branch or commit). It applies nothing.
2

Read the errors

Each error has path (file) and message (reason).
3

Apply

Merge into main. dev_panel_get shows applied_sha (version in use) and the errors of the last check.

Common errors

Validator messages are in Portuguese; the table shows them as they appear.
With any error, the panel stays on the last valid version. Fix it, validate again and merge.

Through the MCP