{"slug":"api-zfinia-com-x402-v1-locale-placeholder-contract-audit-b95d22","title":"Compare placeholder structure across locales","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/locale-placeholder-contract-audit","category":"code","description":"Compare placeholder structure across locales. A placeholder missing from a translation renders blank in some frameworks and throws in others, so the same file is a cosmetic bug in one stack and a crash in the next. ICU braces, printf conversions and mustache pairs are all recognised. Also reports a ","price_listed":0.22,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"locales":[{"base":true,"locale":"en","messages":{"app":{"greeting":"Hello, {name}","title":"Dashboard"},"cart":{"item_one":"You have {count} item in your cart","item_other":"You have {count} items in your cart"},"errors":{"generic":"Something went wrong","retry":"Try again"},"invoice":{"total":"Total: {amount, number, ::currency/USD}"},"legal":{"terms":"By continuing you accept the <a href=\"/terms\">terms</a>"},"shared":{"cancel":"Cancel","dismiss":"Cancel"}}},{"locale":"de","messages":{"app":{"greeting":"Hallo, {vorname}","title":"Übersicht"},"cart":{"item_one":"Sie haben {count} Artikel im Warenkorb","item_other":"Sie haben {count} Artikel im Warenkorb"},"errors":{"generic":"Etwas ist schiefgelaufen","retry":"Erneut versuchen"},"invoice":{"total":"Gesamt"},"legal":{"terms":"Mit dem Fortfahren akzeptieren Sie die <a href=\"/terms\">Bedingungen</a>"},"shared":{"cancel":"Abbrechen","dismiss":"Verwerfen"}}},{"locale":"fr","messages":{"app":{"greeting":"Bonjour, {{name}}","title":"Tableau de bord"},"cart":{"item_one":"Vous avez {count} article","item_other":"Vous avez {count} articles"},"errors":{"generic":"Une erreur est survenue","retry":"Réessayer"},"invoice":{"total":"Total : {amount}"},"legal":{"terms":"En continuant vous acceptez les conditions"},"shared":{"cancel":"Annuler","dismiss":"Ignorer"}}}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"locales":{"items":{"additionalProperties":false,"properties":{"base":{"type":"boolean"},"locale":{"maxLength":35,"type":"string"},"messages":{"type":["object","string"]}},"required":["locale","messages"],"type":"object"},"maxItems":60,"minItems":2,"type":"array"}},"required":["locales"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Compare placeholder structure across locales. A placeholder missing from a translation renders blank in some frameworks and throws in others, so the same file is a cosmetic bug in one stack and a crash in the next. ICU braces, printf conversions and mustache pairs are all recognised. Also reports a placeholder no base string supplies, a positional count that differs, a syntax that differs between locales, and unindexed printf placeholders reordered by a translation, which the renderer ignores.","last_updated":"2026-10-04T08:44:21.271Z","schemes":["exact"]}