Skip to content
HALOWERK

Text Tools

localized list substring boundaries

Localized list formatting returns a conjunction list and exact UTF-16 offsets for each original item. Use it when an agent needs to retain clickable item spans after translating a list.

POST https://text.halowerk.com/v1/localized-list-substring-boundaries

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
itemsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 48,
      "minLength": 1
    },
    "items": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 80,
        "minLength": 1
      },
      "maxItems": 12,
      "minItems": 2
    }
  },
  "required": [
    "locale",
    "items"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "items": [
    "Berlin",
    "Leipzig",
    "Hamburg"
  ]
}

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 →