Skip to content
HALOWERK

Text Tools

cldr dayperiod translation splits

Localized time translation ambiguity lists target phrases encountered during one source language period. Use it when an agent needs a phrase translation that depends on the clock.

POST https://text.halowerk.com/v1/cldr-dayperiod-translation-splits

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
target_localestringYes
timestringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 24,
      "minLength": 1
    },
    "target_locale": {
      "type": "string",
      "maxLength": 24,
      "minLength": 1
    },
    "time": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1
    }
  },
  "required": [
    "locale",
    "target_locale",
    "time"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "en",
  "time": "18:30",
  "target_locale": "de"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "source_label": {
          "type": "string"
        },
        "targets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string"
              },
              "minutes": {
                "type": "integer"
              }
            },
            "required": [
              "label",
              "minutes"
            ]
          }
        }
      },
      "required": [
        "source_label",
        "targets"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →