Localize Figma or ASO.dev screenshot JSON for specified App Store and Google Play locales while preserving its schema, template tags, length limits and layout constraints. Can also review the captions against the listing's locales, message and local vocabulary.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Figma Json Localization?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/asodevapp-figma-json-localization)
---
name: figma-json-localization
description: "Localize Figma or ASO.dev screenshot JSON for specified App Store and Google Play locales while preserving its schema, template tags, length limits and layout constraints. Can also review the captions against the listing's locales, message and local vocabulary."
metadata:
version: 1.3.0
---
# Figma JSON Localization
Localize Figma/ASO.dev screenshot JSON while preserving structure, keys, IDs, placeholders, and every system/template tag.
## Locale target
Use the target store, locales and identifier format requested by the user or declared in the export. For an “all locales” request, check which store inventory the user means and whether it is the app’s enabled locales or the store’s full supported set. Console MCP's `get_editor_data` (Apple) or `get_google_editor_data` (Play) can ground an owned app's current locales. A supplied export is enough to translate an offline file.
Map store language codes to the file's existing keys explicitly. For example an Apple-oriented template may store `ZH_HANS` for `zh-Hans`, while a Google Play listing uses `zh-CN` for Simplified Chinese. Preserve the destination schema and keep distinct regional variants when present. If both stores share a creative, check the UI shown and copy separately for each.
[App Store localizations](https://aso.dev/app-store-connect/app-store-localizations/) · [Google Play translation languages](https://support.google.com/googleplay/android-developer/answer/9844778)
## Workflow
1. Parse JSON with a real JSON parser. Do not use regex-only editing for the whole file.
2. Detect schema:
- locale-rooted: `{ "EN_US": { ... } }`
- key-rooted: `{ "headline_1": { "EN_US": "..." } }`
- flat source JSON: `{ "headline_1": "..." }`
- array/layer JSON: objects with text fields such as `text`, `value`, `characters`, `label`, `headline`.
3. Identify the source locale. Use the source specified by the user or the export. Infer it only when one source is unambiguous.
4. Decide which string values are translatable. Usually translate visible screenshot copy, UI labels, CTAs, feature text, and short descriptions.
5. Read sibling context fields before translating, especially `description`, `context`, `notes`, `comment`, `meaning`, and `usage`.
6. Read sibling length fields before translating, especially `maxLength`, `maxChars`, `charLimit`, `limit`, `minLength`, `maxLines`, `lineLimit`, and nested `constraints`.
7. Do not translate JSON object keys, IDs, layer IDs, frame names, asset names, file paths, URLs, color values, numbers, booleans, or nulls unless the user explicitly says they are visible copy.
8. Generate missing target locales and preserve existing completed locales unless the user asks to overwrite them.
9. Return valid JSON with the same schema and stable ordering. For a flat export without locale slots, return one same-schema file per target locale.
## Context and limits
Many ASO.dev/Figma JSON files include non-visible fields that explain what a text is for. Treat `description`, `context`, `notes`, `comment`, `meaning`, and `usage` as translation context by default, not as copy to localize.
Only translate a `description` value when the schema clearly makes it visible copy, for example App Store metadata `description`, event `longDescription`, Google Play `fullDescription`, or when the user explicitly asks to translate descriptions.
If a translatable node has a length constraint:
- Treat the explicit JSON limit as authoritative.
- Produce translations that fit the limit; prefer concise transcreation over literal wording.
- If a locale cannot fit naturally, provide the best fitting version and flag it for native review.
- Check the unit the export declares (for example UTF-16 units or graphemes). For layout limits, evaluate visible strings after substituting realistic values, including long names and counts. Mark unknown widths and unrendered wrapping as unverified.
- Preserve line breaks if they affect Figma layout, and honor `maxLines` or `lineLimit` when present.
## Protected tokens
Identify the message format from its schema or examples before processing braces.
- Preserve opaque ASO.dev tags such as `asodev{...}`, declared custom tags, template variables (`{{name}}`, `${name}`), HTML attributes and tag nesting. Preserve the identities of positional arguments. Keep the argument sequence of unnumbered printf placeholders such as `%s` and `%d`.
- For ICU MessageFormat, parse the message and translate visible text inside each `plural`, `selectordinal` and `select` branch. Preserve argument names, explicit selectors, offsets, quoting, nested arguments, the meaning of `#` and the required `other` branch. Adapt plural categories to the target language. For example, German translations of `{n, plural, one {# file} other {# files}}` need both `Datei` and `Dateien`. [ICU MessageFormat](https://unicode-org.github.io/icu/userguide/format_parse/messages/)
- For schema-defined opaque tokens, mask and restore each token byte-for-byte. Allow named arguments and intact markup spans to move when grammar requires it. Retain intentional line breaks, brand spelling and significant whitespace.
## Translation rules
- Translate intent, not word-for-word text.
- Keep screenshot copy short enough for the same text boxes.
- Use context-only `description` fields to understand tone, screen, audience, and product meaning.
- Use the local store’s terminology for marketing copy and the actual translated UI wording for labels shown in the screenshot.
- Keep CTA verbs natural for each language.
- Preserve capitalization patterns only when they are part of the brand or design.
- For languages with longer text, produce concise alternatives rather than overflowing.
- Flag terms with uncertain meaning or unverified UI wording. Check layout risks such as RTL text with embedded LTR values and scripts that wrap without spaces.
## ASO analysis of the caption set
Screenshot captions are conversion copy for a specific listing. When the user asks for a review as well as a translation, check the file against the listing it will sit beside.
| Check | How |
|---|---|
| Locale coverage | Compare the file's locales with the listing's locales from Console MCP `get_editor_data` or `get_google_editor_data`. List listing locales with no captions and caption locales with no listing |
| Untranslated strings | Target strings identical to the source, outside brand and product names |
| Message match | The first scene states the same main benefit as the locale's title and subtitle, or its Play short description |
| Vocabulary | Captions use the term the locale's metadata uses for the same feature. Where research exists, prefer the local term chosen in `keyword-research` over a literal translation |
| Length risk | Target length against the declared limit and against the source length |
| Local formats | Currency, dates, numbers and names shown in captions fit the market |
ASO.dev Data MCP can ground a wording choice on the App Store: `getKeywordPopularityMetricsLatest` compares two candidate local terms in the target storefront (6 credits each at snapshot prices). Report findings by key path and locale, separate from the translated JSON. Leave changes to the listing fields to `metadata-editor`.
## QA
Check before returning:
- JSON parses.
- Every target locale exists.
- No tag or placeholder changed, removed, duplicated incorrectly, or translated.
- Parse translated ICU again and exercise representative counts and each select branch. Check variable identity and opaque tokens along each reachable branch, including any target-specific plural branches.
- Verify declared string limits, and distinguish measured wrapping from estimates if frames or fonts are unavailable.
- Existing non-target fields are unchanged.
- Empty source strings remain empty unless the user asks to fill them.
- RTL locales are flagged for layout review.
- Long translations are flagged for Figma text-box review.
## Output
````md
# Figma JSON Localization
Source locale:
Target locales:
Schema:
## Changes
| Key/path | Locales generated | Limit | Notes |
|---|---:|---:|---|
## Protected-token QA
| Token type | Status | Notes |
|---|---|---|
## Layout QA
| Locale | Key/path | Limit risk | Recommendation |
|---|---|---|---|
## JSON
```json
...
```
````
## Rules
- Preserve token spelling and semantics. Keep even unrecognized technical fields intact.
- Do not change JSON keys unless the user explicitly asks for a schema migration.
- Do not drop unknown fields.
- Do not overwrite existing localized values unless requested.
- If the JSON is too large to show fully, write the updated file and summarize changed paths.