Textwerk
i18n key diff
Flattens nested resources to dotted keys (Rails-style YAML with a root locale key is unwrapped automatically) and compares every target locale with the base: missing keys, keys that no longer exist in the base, empty values, values identical to the base (possible untranslated text), type mismatches and placeholder mismatches (printf, ICU, mustache, ${}). With plural_style i18next, keys ending in _zero/_one/_two/_few/_many/_other (and _ordinal_) are grouped and checked against the CLDR.
POST https://text.halowerk.com/v1/i18n-key-diffInputs
| Field | Type | Required | Description |
|---|---|---|---|
| base | object | Yes | Base (source) locale resource. |
| targets | array | Yes | Translated resources to compare. |
| format | string | No | Format of string contents. |
| plural_style | string | No | i18next groups keys with _one/_other/… (and _ordinal_…) suffixes as plural forms. |
| max_items | integer | No | Maximum listed items per category and locale. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"base",
"targets"
],
"properties": {
"base": {
"type": "object",
"additionalProperties": false,
"required": [
"locale",
"content"
],
"description": "Base (source) locale resource.",
"properties": {
"locale": {
"type": "string",
"maxLength": 35,
"description": "BCP 47 locale of the base file."
},
"content": {
"anyOf": [
{
"type": "object"
},
{
"type": "string",
"maxLength": 250000
}
],
"description": "Resource as object, or file content as string (see format)."
}
}
},
"targets": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"description": "Translated resources to compare.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"locale",
"content"
],
"properties": {
"locale": {
"type": "string",
"maxLength": 35,
"description": "BCP 47 locale of this file."
},
"content": {
"anyOf": [
{
"type": "object"
},
{
"type": "string",
"maxLength": 250000
}
],
"description": "Resource as object, or file content as string (see format)."
}
}
}
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"properties"
],
"default": "json",
"description": "Format of string contents."
},
"plural_style": {
"type": "string",
"enum": [
"i18next",
"none"
],
"default": "i18next",
"description": "i18next groups keys with _one/_other/… (and _ordinal_…) suffixes as plural forms."
},
"max_items": {
"type": "integer",
"minimum": 1,
"maximum": 5000,
"default": 500,
"description": "Maximum listed items per category and locale."
}
}
}Published input example
{
"base": {
"locale": "en",
"content": {
"greeting": "Hello {{name}}",
"items_one": "{{count}} item",
"items_other": "{{count}} items"
}
},
"targets": [
{
"locale": "ru",
"content": {
"greeting": "Привет {{name}}",
"items_one": "{{count}} предмет",
"items_other": "{{count}} предмета"
}
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp