Skip to main content

Squillify development is paused indefinitely. Read why, and discover what this experiment achieved. Read the story

MicroSkills Reference

Translation Coverage

localization.translation_coverage

ProductionEngine wrapper (Class A)Deterministicstrictfastv1.0.0
No network

Overview

You send the keys the product must have, then one catalog per locale. We count how many keys each locale still holds, which ones are missing, which extras appeared, and which listed emptyValueKeys are present but empty. Duplicate keys are refused. Locales are canonicalized through ICU. We do not read PO or JSON resource files and we do not judge translation quality. A successful call costs 1 execution credit.

A locale file that silently dropped a key is a production hole. Set comparison against the reference list is the mechanical answer.

Reliability

Same key lists, same ICU locale canonicalization, same answer. LOCALE_INVALID — trigger: a catalog locale is POSIX or ill-formed; retryable: no; next: send a hyphenated BCP 47 tag. DUPLICATE_KEY — trigger: a key or catalog locale repeats; retryable: no; next: make the list unique. ITEM_LIMIT_EXCEEDED — trigger: more than 50,000 keys or 100 locales; retryable: no; next: split the catalogs.

Context footprint

Key lists in, coverage rows out. A successful call costs 1 execution credit.

When to use it

When you already extracted key lists and need missing, extra and empty counts per locale.

When you still have a resource file to parse, or you need placeholder compatibility inside a message.

Powered by ICU4J locale canonicalization (com.ibm.icu:icu4j).

Scope

Note
Compares a reference key set with up to 100 locale catalogs and reports missing, extra and empty keys.

Non-goals

  • Does not read PO, XLIFF or JSON resource files from disk
  • Does not judge translation quality or placeholder compatibility
  • Does not merge catalogs or infer a source locale

Properties

IdempotentRetry safeStreaming supportedFile input supportedRequires external service

Capabilities

analysisvalidation

Cost & billing

Flat rate per invocation

MetercallsBillable onsuccessCost per call1 credit

File handling

Accepts file_refProduces file_refMax input2 MB

How we handle your data

Sensitive input, safe output
What this means

This skill may receive sensitive content, but it does not target sensitive data and returns only a structured non-sensitive result.

Squillify guarantees
  • Runs inside Squillify
  • This skill runs inside Squillify.
  • Payloads are not sent to an external service by this skill.
  • Squillify does not permanently store submitted payloads.
  • Telemetry records metadata only, not submitted content.
  • Submitted payloads are not used for training.
  • Submitted payloads are not reviewed by humans.
  • This skill does not target sensitive data.
  • The response does not contain submitted content.
Your responsibility

Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.

Read the Microskill Data Handling Policy

Input schema

FieldTypeRequiredDescription
referenceKeysarrayYesFrom 0 through 50,001 unique reference keys so 50,001 hits ITEM_LIMIT_EXCEEDED; omit none, send [] for an empty product.
catalogsarrayYesFrom 0 through 101 closed catalogs so 101 locales hit ITEM_LIMIT_EXCEEDED; each has locale and keys.
emptyValueKeysarrayNoFrom 0 through 50,001 keys treated as empty when still listed in a catalog; omit it for none.

Output schema

FieldTypeRequiredDescription
referenceKeyCountintegerYesUnique reference keys compared.
localeCountintegerYesHow many catalogs were compared.
localesarrayYesFrom 0 through 100 closed per-locale rows in request order after locale canonicalization.
truncatedbooleanYesWhether any listed key array was cut at 200 entries.
_metaobjectYesClosed ICU and CLDR versions used for this answer, with icuVersion and cldrVersion strings.

API contract

POST /v1/execute
curl
curl -sS -X POST "$BASE/v1/execute" -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"skillKey":"localization.translation_coverage","input":{"referenceKeys":["app.title","app.save"],"catalogs":[{"locale":"FR","keys":["app.title"]}]}}'
Integrations
TypeScript SDK
import { Squillify } from "@squillify/sdk";

const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });

const { output } = await sq.execute("localization.translation_coverage", {"catalogs":[{"locale":"FR","keys":["app.title"]}],"referenceKeys":["app.title","app.save"]});

Errors

CodeHTTPRetryableDescription
VALIDATION_ERROR400NoThe request payload failed schema validation.
UNAUTHORIZED401NoMissing or invalid API key.
SKILL_NOT_ACCESSIBLE403NoThe API key is not granted access to this skill.
SKILL_NOT_AVAILABLE_FOR_PLAN403NoThis skill is not included in your current plan.
PLAN_ELIGIBILITY_UNAVAILABLE503YesPlan eligibility could not be decided. Retry after backoff.
SKILL_NOT_FOUND404NoThe requested skill or version does not exist.
TENANT_RATE_LIMITED429YesRequest rate limit exceeded. Retry after backoff.
QUOTA_EXCEEDED429YesPlan quota exhausted. Retryable once the quota period resets.
EXECUTION_TIMEOUT504YesExecution exceeded the allowed time budget.
LOCALE_INVALID400NoThe request payload failed this skill's input validation.
DUPLICATE_KEY400NoThe request payload failed this skill's input validation.
ITEM_LIMIT_EXCEEDED429NoA size, quota, rate, or time limit was exceeded.

Other limits

LimitValue
Recommended inline bytes32 KiB

Limitations

  • Does not read PO, XLIFF or JSON resource files from disk
  • Does not judge translation quality or placeholder compatibility
  • Does not merge catalogs or infer a source locale
  • Parsing a Gettext file
  • Checking whether {count} survived inside a message

How to call

POST /v1/execute (requires authentication)

Request bodyjson
{
  "skillKey": "localization.translation_coverage",
  "input": {
    "catalogs": [
      {
        "locale": "FR",
        "keys": [
          "app.title"
        ]
      }
    ],
    "referenceKeys": [
      "app.title",
      "app.save"
    ]
  }
}

Examples

French catalog missing one key

Inputjson
{
  "catalogs": [
    {
      "locale": "FR",
      "keys": [
        "app.title"
      ]
    }
  ],
  "referenceKeys": [
    "app.title",
    "app.save"
  ]
}
Expected outputjson
{
  "_meta": {
    "icuVersion": "76.1",
    "cldrVersion": "46.0"
  },
  "truncated": false,
  "localeCount": 1,
  "locales": [
    {
      "locale": "fr",
      "total": 2,
      "present": 1,
      "missing": 1,
      "extra": 0,
      "empty": 0,
      "presentRatio": 0.5,
      "emptyRatio": 0,
      "missingKeys": [
        "app.save"
      ],
      "extraKeys": [],
      "emptyKeys": []
    }
  ],
  "referenceKeyCount": 2
}
Tip
FR canonicalizes to fr and app.save is missing

Empty reference with an extra catalog key

Inputjson
{
  "referenceKeys": [],
  "emptyValueKeys": [],
  "catalogs": [
    {
      "locale": "de-DE",
      "keys": [
        "obsolete"
      ]
    }
  ]
}
Expected outputjson
{
  "_meta": {
    "icuVersion": "76.1",
    "cldrVersion": "46.0"
  },
  "truncated": false,
  "localeCount": 1,
  "locales": [
    {
      "locale": "de-DE",
      "total": 0,
      "present": 0,
      "missing": 0,
      "extra": 1,
      "empty": 0,
      "missingKeys": [],
      "extraKeys": [
        "obsolete"
      ],
      "emptyKeys": []
    }
  ],
  "referenceKeyCount": 0
}
Tip
No reference keys means nothing is missing and extras still appear
  • Measuring how complete fr-FR still is against the English key list
  • Spotting extra keys a translator added that the product no longer ships

Avoid for

  • Parsing a Gettext file
  • Checking whether {count} survived inside a message

Composable with

Safety & privacy

  • Runs without calling any external service.
  • Your payloads are never stored permanently.
  • Telemetry captures metadata only — never your payload contents.
  • We never train models on your payloads.
  • No human reviews your payloads.

Tags

i18ncoveragevalidationcatalog