| name | glyphs-localization |
| description | 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. |
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
./scripts/translate-term.sh "取消"
./scripts/translate-term.sh "Cancel" "zh-Hant"
./scripts/translate-term.sh "移除重疊" "ja"
./scripts/translate-term.sh --rebuild
./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 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:
- Main App:
/Applications/Glyphs 3.app/Contents/Resources/{lang}.lproj/
- Framework:
.../Frameworks/GlyphsCore.framework/.../Resources/{lang}.lproj/
- 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:
./scripts/translate-term.sh --rebuild
Other Tools
search-glyphs-term.sh
Raw grep search for debugging:
./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:
./scripts/extract-nib-strings.sh --term "Remove Overlap"
./scripts/extract-nib-strings.sh --lang zh-Hant --format csv