Skip to content
HALOWERK

Textwerk

l10n segment boundary whitespace

Return leading and trailing whitespace changes between paired source and translated segments.

POST https://text.halowerk.com/v1/l10n-segment-boundary-whitespace

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pairsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "maxLength": 80,
            "minLength": 1
          },
          "source": {
            "type": "string",
            "maxLength": 2048
          },
          "target": {
            "type": "string",
            "maxLength": 2048
          }
        },
        "required": [
          "key",
          "source",
          "target"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "pairs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pairs": [
    {
      "key": "price-prefix",
      "source": "Price: ",
      "target": "Preis:"
    },
    {
      "key": "suffix",
      "source": " kg",
      "target": " kg"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →