BRAINIAC.software stands with Ukraine.Solidarity with the Ukrainian people against the invasion. Find out how you can help.
BRAINIAC.software
API CatalogPagesAgent instructionsAgentsMCP connectAgentsRecommend fitAgentsCatalog exploreAgentsMCP serversPagesConnectPagesPricingPages

© 2026 BRAINIAC .software

FAQHow it worksContact UsTerms and AgreementsPrivacy StatementCookie Statement
  1. APIs
  2. CLDR Translation QA Locale
  3. Documentations

CLDR Translation QA Locale API

CLDRLocalizationPluralsTranslation QAx402MCPOpenAPI

Look up CLDR 49 locale data, classify numbers by plural category, check translated segments for placeholder, tag, number, link, quote, whitespace, and glossary defects, and format numbers, currencies, and dates for a locale. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota. Payment is the exact USDC price on Base with x402.

POSThttps://www.brainiac.software/api/v1/translation-qa/locale$0.005 USDC

Look up CLDR locale data

Return CLDR 49 locale facts for one BCP 47 tag from a vendored set of 40 common locales: decimal and group symbols, number, percent and currency patterns, date and time formats, first day of week, quotation marks, and

Body

FieldRequiredNotes
localeYesstring

Request exampleJSON

{
  "locale": "de-DE"
}

Response exampleJSON

{
  "status": "complete",
  "locale": "de-DE",
  "language": "de",
  "cldrLocale": "de",
  "name": "German (Germany)",
  "nativeName": "Deutsch (Deutschland)",
  "numberingSystem": "latn",
  "decimal": ",",
  "group": ".",
  "minusSign": "-",
  "decimalPattern": "#,##0.###",
  "percentPattern": "#,##0 %",
  "currencyPattern": "#,##0.00 ¤",
  "dateFormats": {
    "short": "dd.MM.yy",
    "medium": "dd.MM.y",
    "long": "d. MMMM y",
    "full": "EEEE, d. MMMM y"
  },
  "timeFormats": {
    "short": "HH:mm",
    "medium": "HH:mm:ss",
    "long": "HH:mm:ss z",
    "full": "HH:mm:ss zzzz"
  },
  "firstDayOfWeek": 1,
  "quotationStart": "„",
  "quotationEnd": "“",
  "altQuotationStart": "‚",
  "altQuotationEnd": "‘",
  "pluralCategories": {
    "cardinal": [
      "one",
      "other"
    ],
    "ordinal": [
      "other"
    ]
  },
  "requestedLocale": "de-DE",
  "cldrVersion": "49.0.0",
  "sources": [
    {
      "source": "Unicode CLDR JSON 49.0.0 (cldr-core, cldr-numbers-full, cldr-dates-full, cldr-misc-full, cldr-localenames-full), 40",
      "url": "https://github.com/unicode-org/cldr-json",
      "licence": "Unicode-3.0",
      "retrievedAt": "2026-12-03",
      "status": "ok"
    }
  ],
  "limitations": [
    "Data covers 40 common locales vendored from CLDR 49.0.0; a regional tag outside that set resolves to the first vendored",
    "Patterns are CLDR pattern strings (for example dd.MM.y), not formatted samples. Use number-formats for formatted output.",
    "…"
  ]
}

cURL

curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/locale" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "locale": "de-DE"
}
JSON
POSThttps://www.brainiac.software/api/v1/translation-qa/plural-category$0.002 USDC

Classify numbers by plural category

Return the CLDR plural category (zero, one, two, few, many, other) for each number in a locale, cardinal or ordinal, using make-plural.

Body

FieldRequiredNotes
localeYesstring
numbersYesarray; Array
typeNostring; One of: cardinal, ordinal

Request exampleJSON

{
  "locale": "ru",
  "numbers": [
    "1",
    "2",
    "5",
    "21"
  ],
  "type": "cardinal"
}

Response exampleJSON

{
  "status": "complete",
  "locale": "ru",
  "ruleLocale": "ru",
  "type": "cardinal",
  "categories": [
    "one",
    "few",
    "…"
  ],
  "results": [
    {
      "number": "1",
      "category": "one"
    },
    {
      "number": "2",
      "category": "few"
    },
    "…"
  ],
  "cldrVersion": "49.0.0",
  "sources": [
    {
      "source": "make-plural 8.2.0 (CLDR plural rules compiled to JavaScript)",
      "url": "https://github.com/eemeli/make-plural",
      "licence": "Unicode-DFS-2016",
      "retrievedAt": "2026-12-03",
      "status": "ok"
    }
  ],
  "limitations": [
    "Numbers are evaluated as written, so 1 and 1.0 can fall in different categories (visible decimals matter in CLDR rules).",
    "Compact-decimal exponent forms (1c3) are not supported; pass plain decimal numbers."
  ]
}

cURL

curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/plural-category" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "locale": "ru",
  "numbers": [
    "1",
    "2",
    "5",
    "21"
  ],
  "type": "cardinal"
}
JSON
POSThttps://www.brainiac.software/api/v1/translation-qa/segment-check$0.03 USDC

Check translated segments

Check up to 500 source and target segments for placeholder, HTML or XML tag, number, URL and email, untranslated, length ratio, quote style, whitespace, and glossary defects using each locale's CLDR number symbols and

Body

FieldRequiredNotes
sourceLocaleYesstring
targetLocaleYesstring
segmentsYesarray; Array
glossaryNoarray; Array
lengthRatioNoobject

Request exampleJSON

{
  "sourceLocale": "en-US",
  "targetLocale": "de-DE",
  "segments": [
    {
      "id": "price-bad",
      "source": "Price: 1,234.50 EUR",
      "target": "Preis: 1.234,00 EUR"
    },
    {
      "id": "price-ok",
      "source": "Price: 1,234.50 EUR",
      "target": "Preis: 1.234,50 EUR"
    }
  ],
  "glossary": [
    {
      "source": "Price",
      "target": "Preis"
    }
  ]
}

Response exampleJSON

{
  "status": "complete",
  "sourceLocale": "en-US",
  "targetLocale": "de-DE",
  "segments": 2,
  "issues": [
    {
      "id": "price-bad",
      "check": "number_mismatch",
      "severity": "error",
      "detail": "Numbers read with en-US symbols [1234.5] differ from numbers read with de-DE symbols [1234]."
    }
  ],
  "summary": {
    "byCheck": {
      "number_mismatch": 1
    },
    "segmentsWithIssues": 1,
    "errors": 1,
    "warnings": 0
  },
  "cldrVersion": "49.0.0",
  "sources": [
    {
      "source": "Unicode CLDR JSON 49.0.0 (cldr-core, cldr-numbers-full, cldr-dates-full, cldr-misc-full, cldr-localenames-full), 40",
      "url": "https://github.com/unicode-org/cldr-json",
      "licence": "Unicode-3.0",
      "retrievedAt": "2026-12-03",
      "status": "ok"
    }
  ],
  "limitations": [
    "Numbers are read with each locale's CLDR decimal and group symbols; dates and ranges written with separators",
    "Placeholder, tag, number, and link checks compare multisets of tokens, not their order; translators may reorder them.",
    "…"
  ]
}

cURL

curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/segment-check" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "sourceLocale": "en-US",
  "targetLocale": "de-DE",
  "segments": [
    {
      "id": "price-bad",
      "source": "Price: 1,234.50 EUR",
      "target": "Preis: 1.234,00 EUR"
    },
    {
      "id": "price-ok",
      "source": "Price: 1,234.50 EUR",
      "target": "Preis: 1.234,50 EUR"
    }
  ],
  "glossary": [
    {
      "source": "Price",
      "target": "Preis"
    }
  ]
}
JSON
POSThttps://www.brainiac.software/api/v1/translation-qa/number-formats$0.005 USDC

Format numbers and dates for a locale

Format up to 100 numbers, currency amounts, percentages, and dates for a locale with Node Intl (ICU and CLDR) and return the formatted strings with the ICU and CLDR versions used.

Body

FieldRequiredNotes
localeYesstring
timeZoneNostring
valuesYesarray; Array

Request exampleJSON

{
  "locale": "de-DE",
  "values": [
    {
      "type": "number",
      "value": 1234567.891
    },
    {
      "type": "currency",
      "value": 1234.5,
      "currency": "EUR"
    },
    {
      "type": "percent",
      "value": 0.256
    },
    {
      "type": "date",
      "value": "2026-12-03",
      "style": "long"
    }
  ]
}

Response exampleJSON

{
  "status": "complete",
  "locale": "de-DE",
  "timeZone": "UTC",
  "results": [
    {
      "input": {
        "type": "number",
        "value": 1234567.891
      },
      "formatted": "1.234.567,891"
    },
    {
      "input": {
        "type": "currency",
        "value": 1234.5,
        "currency": "EUR"
      },
      "formatted": "1.234,50 €"
    },
    "…"
  ],
  "icuVersion": "77.1",
  "cldrVersion": "47.0",
  "sources": [
    {
      "source": "Node v25.1.0 Intl (ICU 77.1, CLDR 47.0)",
      "url": "https://cldr.unicode.org",
      "licence": "Unicode-3.0",
      "retrievedAt": "2026-12-03",
      "status": "ok"
    }
  ],
  "limitations": [
    "Formatting uses the CLDR release bundled with the server's Node.js ICU, which can lag the CLDR 49 data returned by",
    "percent values are fractions (0.256 formats as 25.6%). Dates are ISO 8601 strings formatted in timeZone with the",
    "…"
  ]
}

cURL

curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/number-formats" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "locale": "de-DE",
  "values": [
    {
      "type": "number",
      "value": 1234567.891
    },
    {
      "type": "currency",
      "value": 1234.5,
      "currency": "EUR"
    },
    {
      "type": "percent",
      "value": 0.256
    },
    {
      "type": "date",
      "value": "2026-12-03",
      "style": "long"
    }
  ]
}
JSON