Skip to content
HALOWERK

Text Tools

gettext single message release resolution

Gettext lookup returns translation availability and fallback reason for an exact context, message and plural slot. Use it when an agent needs a release lookup without executing the catalog’s plural expression.

POST https://text.halowerk.com/v1/gettext-single-message-release-resolution

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
msgidstringYes
contextstringNo
slotintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1
    },
    "msgid": {
      "type": "string",
      "maxLength": 150,
      "minLength": 1
    },
    "context": {
      "type": "string",
      "maxLength": 100
    },
    "slot": {
      "type": "integer",
      "minimum": 0,
      "maximum": 31
    }
  },
  "required": [
    "text",
    "msgid"
  ],
  "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#: ui/menu.c:18\nmsgctxt \"menu\"\nmsgid \"Open\"\nmsgstr \"_Öffnen\"\n\nmsgctxt \"door\"\nmsgid \"Open\"\nmsgstr \"Offen\"",
  "msgid": "Open",
  "context": "menu",
  "slot": 0
}

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 →