Skip to content
HALOWERK

Text Tools

gettext format flag consistency

Gettext format flags return entries with simultaneous positive and negative flags for the same format language. Use it when an agent needs conflicting format-validation instructions.

POST https://text.halowerk.com/v1/gettext-format-flag-consistency

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "msgid \"\"\nmsgstr \"Language: de\\nContent-Type: text/plain; charset=UTF-8\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\n#, c-format, no-c-format\nmsgid \"Count %d\"\nmsgstr \"Anzahl %d\""
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →