Main menu

Get validation errors for a project locale


URI parameters


Locale short code, or language tag

string required

API key - required if not sent in Authorization header

string optional

Request headers


API key sent as "Loco <key>" or "Basic <encoded>". See Authentication.

string required if not in query


Array of JSON-encoded TranslationError objects, taking the following form:

[ {
    "id": "", // Unique asset ID for current translation
    "status": "", // Status of translation as string compatible with export status parameter
    "source": "", // Source text in default project locale
    "target": "", // Translated text in current target locale (unless locale is source)
    "errors": [ /* Validation errors as simple message strings */ ],
} ] 

Try it

Open in test console »

« /api/locales