Skip to content
HALOWERK

Textwerk

xliff po check

Parses XLIFF 1.2 (trans-unit, state, maxwidth/size-unit) and XLIFF 2.x (unit/segment, state, slr:sizeRestriction in code points) with fast-xml-parser in document order, and GNU gettext PO files with an own parser (msgctxt, plurals, flags, obsolete entries, C escapes). Checks per unit: missing or empty target, fuzzy or needs-review state (XLIFF 2 segments whose state is initial or not set count as not reviewed), inline elements (x, g, ph, bpt/ept, pc, sc/ec ) and text placeholders (printf,.

POST https://text.halowerk.com/v1/xliff-po-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
contentstringYesFile content (XLIFF or PO), at most 250,000 characters (the hub accepts request bodies up to 256 KB).
formatstringNoauto: content starting with < is XLIFF, otherwise PO.
max_lengthintegerNoOptional global maximum target length in characters.
max_issuesintegerNoMaximum number of listed issues.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "content"
  ],
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 250000,
      "description": "File content (XLIFF or PO), at most 250,000 characters (the hub accepts request bodies up to 256 KB)."
    },
    "format": {
      "type": "string",
      "enum": [
        "auto",
        "xliff",
        "po"
      ],
      "default": "auto",
      "description": "auto: content starting with < is XLIFF, otherwise PO."
    },
    "max_length": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000,
      "description": "Optional global maximum target length in characters."
    },
    "max_issues": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5000,
      "default": 500,
      "description": "Maximum number of listed issues."
    }
  }
}

Open original schema

Published input example

{
  "content": "msgid \"\"\nmsgstr \"Language: de\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\nmsgid \"Save\"\nmsgstr \"Speichern\"\n"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →