Skip to content
HALOWERK

Text Tools

gettext compiled string pool size

Gettext string sizing returns the UTF-8 byte counts of original and translated strings for complete nonfuzzy messages, including terminators. Use it when an agent needs the string-storage component of an MO file.

POST https://text.halowerk.com/v1/gettext-compiled-string-pool-size

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 →