Skip to content
HALOWERK

Text Tools

gettext context dependent source keys

Gettext contexts return the number of source strings split across multiple contexts and how many have different translations. Use it when an agent needs the ambiguity introduced by dropping message context.

POST https://text.halowerk.com/v1/gettext-context-dependent-source-keys

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#: ui/menu.c:18\nmsgctxt \"menu\"\nmsgid \"Open\"\nmsgstr \"_Öffnen\"\n\nmsgctxt \"door\"\nmsgid \"Open\"\nmsgstr \"Offen\""
}

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 →