View .md

Translations endpoints (System (public))

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

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/system/translations.php. Authentication used here: Public. Read Authentication for how to send credentials and 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: PublicRoute name: translations-languagesController: TranslationsController::getLanguagesroute source

Get available languages Retrieve list of available translation languages

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: PublicRoute name: translationsController: TranslationsController::getTranslationsroute source

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

ParameterInTypeRequiredDescription
langpathstringyesLanguage code (e.g., en, de, fr)
curl -X GET "$PANEL_URL/api/system/translations/$LANG" \
  -H "Accept: application/json"

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