# Glyphs Localization

> Translates Glyphs 3 UI terms between 14 languages using Hub-and-Spoke architecture via English. Use when translating Glyphs menu items, finding localized UI strings for plugin development, or looking up how a feature is named in another language.

- **Type:** Skill
- **Install:** `agentstack add skill-yintzuyuan-glyphs-reference-glyphs-localization`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [yintzuyuan](https://agentstack.voostack.com/s/yintzuyuan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [yintzuyuan](https://github.com/yintzuyuan)
- **Source:** https://github.com/yintzuyuan/glyphs-reference/tree/main/skills/glyphs-localization
- **Website:** http://erikyin.net/glyphs-reference/

## Install

```sh
agentstack add skill-yintzuyuan-glyphs-reference-glyphs-localization
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Glyphs UI Localization Skill

Translate Glyphs 3 UI terms between 14 languages using Hub-and-Spoke architecture.

> Run all scripts from this skill's base directory. Prepend the base directory path to `scripts/` when executing.

## Quick Start

```bash
# Auto-translate to English (from any language)
./scripts/translate-term.sh "取消"

# Translate to specific locale
./scripts/translate-term.sh "Cancel" "zh-Hant"

# Cross-language (goes through English hub)
./scripts/translate-term.sh "移除重疊" "ja"

# Rebuild cache after Glyphs update
./scripts/translate-term.sh --rebuild

# List available locales
./scripts/translate-term.sh --list-locales
```

## Output Format

```
key: Remove Overlap
source: en
target: zh-Hant
translation: 移除重疊
```

Simple key-value format for easy parsing.

## Supported Languages

See [references/language-codes.md](references/language-codes.md) for complete list.

Common locales: `en`, `zh-Hant`, `zh-Hans`, `ja`, `ko`, `de`, `fr`, `es`

## Architecture

**Hub-and-Spoke**: All translations go through English as the hub language.

```
zh-Hant → en → ja
         ↑
       (hub)
```

**Three-tier search**:
1. Main App: `/Applications/Glyphs 3.app/Contents/Resources/{lang}.lproj/`
2. Framework: `.../Frameworks/GlyphsCore.framework/.../Resources/{lang}.lproj/`
3. Plugins: `.../PlugIns/*/.../Resources/{lang}.lproj/`

**NIB integration**: English vocabulary includes terms from Base.lproj NIB files.

## Cache

Cache stored at `/tmp/glyphs-vocab-cache/`. Auto-builds on first use.

Rebuild after Glyphs update:
```bash
./scripts/translate-term.sh --rebuild
```

## Other Tools

### search-glyphs-term.sh

Raw grep search for debugging:

```bash
./scripts/search-glyphs-term.sh "Remove Overlap" "zh-Hant"
./scripts/search-glyphs-term.sh --all-langs "Remove Overlap"
./scripts/search-glyphs-term.sh --format json "Filter" "ja"
```

### extract-nib-strings.sh

Extract strings from NIB files:

```bash
./scripts/extract-nib-strings.sh --term "Remove Overlap"
./scripts/extract-nib-strings.sh --lang zh-Hant --format csv
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [yintzuyuan](https://github.com/yintzuyuan)
- **Source:** [yintzuyuan/glyphs-reference](https://github.com/yintzuyuan/glyphs-reference)
- **License:** MIT
- **Homepage:** http://erikyin.net/glyphs-reference/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-yintzuyuan-glyphs-reference-glyphs-localization
- Seller: https://agentstack.voostack.com/s/yintzuyuan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
