Textwerk
l10n fallback graph resolution
Return a resource value through supplied locale fallbacks.
POST https://text.halowerk.com/v1/l10n-fallback-graph-resolutionInputs
| Field | Type | Required | Description |
|---|---|---|---|
| locale | string | Yes | |
| key | string | Yes | |
| fallbacks | array | Yes | |
| resources | object | Yes |
Show full input schema
{
"type": "object",
"properties": {
"locale": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"fallbacks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"next": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"required": [
"locale",
"next"
],
"additionalProperties": false
},
"maxItems": 50,
"minItems": 0
},
"resources": {
"type": "object",
"maxProperties": 50,
"propertyNames": {
"minLength": 1,
"maxLength": 80
},
"additionalProperties": {
"type": "object",
"maxProperties": 100,
"propertyNames": {
"minLength": 1,
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 2048
}
}
}
},
"required": [
"locale",
"key",
"fallbacks",
"resources"
],
"additionalProperties": false
}Published input example
{
"locale": "de-CH",
"key": "cancel",
"fallbacks": [
{
"locale": "de-CH",
"next": "de"
},
{
"locale": "de",
"next": "en"
}
],
"resources": {
"en": {
"cancel": "Cancel"
}
}
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 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