Translation Placeholder Contract
Check translated UI strings for missing, extra or repeated template tokens without interpreting the translated text.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /translation-placeholder-contract/v1/check with an x402 V2 client.
Worked example
Request
{
"messages": [
{
"key": "cart",
"source": "{name}: {count} items",
"translation": "{count} articles pour {name}"
},
{
"key": "error",
"source": "{id} is invalid",
"translation": "Erreur {id} ({id})"
}
]
}Result
{
"matches": false,
"issues": [
{
"key": "error",
"token": "id",
"expected": 1,
"actual": 2
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter