Skip to content
HALOWERK

Text Tools

locale plural message key unused

Plural resource validation returns the supplied translation keys unused by a concrete list of quantities. Use it when an agent needs dead translations within a measured workload.

POST https://text.halowerk.com/v1/locale-plural-message-key-unused

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
valuesarrayYes
keysarrayYes
typeSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 48,
      "minLength": 1
    },
    "values": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000
      },
      "maxItems": 250,
      "minItems": 1
    },
    "keys": {
      "type": "array",
      "items": {
        "enum": [
          "zero",
          "one",
          "two",
          "few",
          "many",
          "other"
        ]
      },
      "maxItems": 6,
      "minItems": 1
    },
    "type": {
      "enum": [
        "cardinal",
        "ordinal"
      ]
    }
  },
  "required": [
    "locale",
    "values",
    "keys"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "pl",
  "values": [
    0,
    1,
    2,
    5,
    12,
    22
  ],
  "keys": [
    "one",
    "other"
  ]
}

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 →