Textwerk
translation qa
Compares each source/target pair deterministically. Times of day are compared in 24-hour form (5:30 PM = 17:30 = 17.30 Uhr). Numbers are parsed with the CLDR separators of the source and target locale (1,234.50 in en equals 1.234,50 in de); a number that only matches when the target is read with source separators is reported as not localized. Placeholders cover printf (%s, %1$d), Python %(name)s, Ruby %{name}, mustache {{name}}, ${name} and ICU MessageFormat arguments parsed with a full ICU.
POST https://text.halowerk.com/v1/translation-qaInputs
| Field | Type | Required | Description |
|---|---|---|---|
| segments | array | Yes | Source/target segment pairs. |
| source_locale | string | No | BCP 47 locale of the source (number separators). |
| target_locale | string | No | BCP 47 locale of the target (number separators, punctuation). |
| length_ratio | object | No | Allowed target/source length ratio (characters), checked for sources with at least 20 characters. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"segments"
],
"properties": {
"segments": {
"type": "array",
"minItems": 1,
"maxItems": 2000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"source",
"target"
],
"properties": {
"id": {
"type": "string",
"maxLength": 200,
"description": "Optional segment id, returned with the findings."
},
"source": {
"type": "string",
"maxLength": 5000,
"description": "Source text."
},
"target": {
"type": "string",
"maxLength": 5000,
"description": "Translation."
}
}
},
"description": "Source/target segment pairs."
},
"source_locale": {
"type": "string",
"maxLength": 35,
"default": "en",
"description": "BCP 47 locale of the source (number separators)."
},
"target_locale": {
"type": "string",
"maxLength": 35,
"default": "de",
"description": "BCP 47 locale of the target (number separators, punctuation)."
},
"length_ratio": {
"type": "object",
"additionalProperties": false,
"properties": {
"min": {
"type": "number",
"minimum": 0,
"maximum": 10,
"default": 0.4,
"description": "Lowest accepted target/source length ratio."
},
"max": {
"type": "number",
"minimum": 0.1,
"maximum": 20,
"default": 2.5,
"description": "Highest accepted target/source length ratio."
}
},
"description": "Allowed target/source length ratio (characters), checked for sources with at least 20 characters."
}
}
}Published input example
{
"source_locale": "en",
"target_locale": "de",
"segments": [
{
"id": "a",
"source": "You have {count} new messages in %s.",
"target": "Sie haben {count} neue Nachrichten."
}
]
}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