Glyphs localization
Skill yintzuyuan/glyphs-reference/skills/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.From its SKILL.md
npx -y skills add yintzuyuan/glyphs-reference --skill glyphs-localizationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
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
# 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 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