# aiskills402 Translate App Text

> aiskills402 Translate App Text is a paid API for AI agents from api.aiskills402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Translates app locale files (JSON, YAML, gettext PO, ICU messages, HTML snippets) into another language while preserving keys, placeholders, HTML tags, and plural forms.

## Facts

- Endpoint: GET https://api.aiskills402.com/v1/skills/translate-app-text/file?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiskills402-translate-app-text-53118b7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EKe73iHmun1X14xZJL_Zh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aiskills402-translate-app-text-53118b7d
```

Example prompt: Translate my en.json locale file into French — keep all the {name} and {{count}} placeholders exactly as-is, preserve any HTML tags, and add the extra French plural forms where needed.

## When to prefer this

Choose this endpoint when you need to translate structured app locale files (JSON, YAML, PO, ICU) rather than plain prose, and correctness of non-translatable tokens (placeholders, HTML, URLs, ICU syntax) is critical. It is specifically designed to handle software i18n formats and automatically adds plural forms for languages that require them, making it far safer than passing raw locale file text to a generic translation service.

## Known failure modes

- Unsupported file format returns an error
- Malformed or syntactically broken input file may produce garbled output
- Extremely long files may exceed processing limits
- Low-resource or rare target languages may produce lower quality translations
- HTTP GET method required; using POST or other verbs will fail
- Missing or malformed input parameter returns a validation error

## How this service works

Translate App Text (JSON, YAML, PO): Translates app strings and locale files (JSON, YAML, gettext PO, ICU messages, HTML snippets) into another language without breaking them. Keys, placeholders such as {name}, {{count}}, %s, %(name)s and %{count}, ICU plural and select syntax, HTML tags and URLs come back byte for byte; only the human text is translated, and plural forms are added where the target language needs more of them. Use when asked to translate a JSON or YAML locale file, an en.json, …

## Output

Returns the translated locale file in the same format as the input (JSON, YAML, PO, etc.) with all keys, placeholders ({name}, {{count}}, %s, %(name)s, %{count}), ICU plural/select syntax, HTML tags, and URLs preserved exactly. Only the human-readable text is translated. Additional plural forms are inserted where the target language requires them.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "file": {
   "name": "SKILL.md",
   "content": "<the SKILL.md file>",
   "encoding": "utf-8"
  },
  "name": "Translate App Text (JSON, YAML, PO)",
  "skill": "translate-app-text",
  "sha256": "<sha256 of SKILL.md>",
  "receipt": {
   "tx": "0x<settlement transaction>",
   "settled": true
  },
  "version": "1.0.0",
  "redownload": {
   "url": "<api>/v1/purchases/<token>",
   "token": "<64 hex chars>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiskills402-translate-app-text-53118b7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiskills402.com](https://www.zero.xyz/host/api.aiskills402.com/llms.txt)
