Main menu

Get validation errors for a project locale

GET https://localise.biz/api/locales/{locale}/errors 

URI parameters

locale

Locale short code, or language tag

string required
key

API key - required if not sent in Authorization header

string optional

Request headers

Authorization

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

string required if not in query

Response

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