# Translations endpoints (System (public))

> 2 FeatherPanel System (public) endpoints from system/translations.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Source: https://featherpanel.com/docs/api/reference/system/translations/

Defined in [`backend/app/routes/system/translations.php`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/translations.php). Authentication used here: **Public**. Read [Authentication](https://featherpanel.com/docs/api/authentication/) for how to send credentials and [Rate limits and errors](https://featherpanel.com/docs/api/rate-limits-and-errors/) for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

## Endpoints

### GET `/api/system/translations/languages`

- Auth: Public
- Route name: `translations-languages`
- Controller: [`TranslationsController::getLanguages`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/System/TranslationsController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/translations.php#L26)

**Get available languages** Retrieve list of available translation languages

```bash
curl -X GET "$PANEL_URL/api/system/translations/languages" \
  -H "Accept: application/json"
```

Responses: `200` Available languages retrieved successfully

### GET `/api/system/translations/{lang}`

- Auth: Public
- Route name: `translations`
- Controller: [`TranslationsController::getTranslations`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/System/TranslationsController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/translations.php#L36)

**Get translations** Retrieve translation strings for a specific language. Falls back to English if language file not found.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lang` | path | string | yes | Language code (e.g., en, de, fr) |

```bash
curl -X GET "$PANEL_URL/api/system/translations/$LANG" \
  -H "Accept: application/json"
```

Responses: `200` Translations retrieved successfully · `404` Translation file not found
