i18n-translatelisted
Install: claude install-skill f5-sales-demo/marketplace
# Antigravity (`agy`) Ecosystem Document Translation
This skill guides `agy` in translating English Markdown and MDX documentation (`docs/en/**/*.md[x]` or `src/content/docs/en/**/*.md[x]`) into the 12 ecosystem target locales.
## Target Locales Registry
| Locale Code | Language Name |
| ----------- | --------------------- |
| `fr` | French |
| `es` | Spanish |
| `de` | German |
| `pt-br` | Portuguese (Brazil) |
| `ja` | Japanese |
| `ko` | Korean |
| `zh-cn` | Chinese (Simplified) |
| `zh-tw` | Chinese (Traditional) |
| `ar` | Arabic |
| `it` | Italian |
| `hi` | Hindi |
| `th` | Thai |
---
## Translation Procedure
### 1. Compute English Source Hash
For every English document (`docs/en/path/to/file.md[x]`), calculate the **SHA-256 hash** of the raw English file contents and take the first **12 hexadecimal characters**:
```python
import hashlib
source_hash = hashlib.sha256(english_raw_bytes).hexdigest()[:12]
```
### 2. Identify Stale or Missing Target Translations
Check target files at `docs/<locale>/path/to/file.md[x]`:
- If the target file does **not exist**, it is **MISSING** and requires translation.
- If the target file exists, check its YAML frontmatter `i18n.sourceHash`:
- If `i18n.sourceHash != source_hash`, it is **STALE** and requires tr