goman-translations
Original:🇺🇸 English
Translated
7 scripts
Manage app translations with goman.live. Use when: adding translations, adding i18n keys, localizing components, checking translation keys exist, searching translations, updating language content, managing i18n strings, extract hardcoded strings, localize folder, audit missing translations.
12installs
Added on
NPX Install
npx skill4agent add bel-frontend/goman-live-skills goman-translationsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Goman Translations Skill
Translation management for multi-language apps via the goman.live API.
First-time setup (run once before anything else)
Check if exists in the project root.
.envIf it does NOT exist — create it right now:
GOMAN_API_KEY=your_api_key_here
GOMAN_APP_ID=your_application_id_hereThen tell the user:
created. Please fill in.envandGOMAN_API_KEYwith values from the goman.live dashboard → Settings → API Keys, then ask me to continue.GOMAN_APP_ID
Do not run any scripts until the user confirms credentials are filled in.
Get both values from the goman.live dashboard → Settings → API Keys.
Available Scripts
| Script | What it does | Example |
|---|---|---|
| List active language codes | |
| List translation namespaces | |
| Get translations for a key | |
| Search/filter translations | |
| Add or update translations | |
| ⚠️ Delete a key permanently | |
All scripts output JSON. Parse with when processing results.
JSON.parse()Key Format
namespace.key- Namespace = everything before the last dot
- Key = everything after the last dot
- Example: → namespace
"screens.login.submitButton", key"screens.login""submitButton"
⚠️ Every must contain at least one dot.
fullKeyWorkflows
1. Add a Single Translation Key
STEP 1: node goman-languages.js → get valid language codes
STEP 2: node goman-get.js <fullKey> → check if key already exists
STEP 3: node goman-create.js <fullKey> <json> <context> → create/update2. Localize a Component
STEP 1: Receive component code from user
STEP 2: Find ALL hardcoded user-visible strings
(labels, placeholders, titles, errors, tooltips — skip console.log, URLs, CSS)
STEP 3: node goman-languages.js
STEP 4: Plan keys: namespace = component name, key = descriptive name
Show plan to user and ask: "Should I proceed?"
STEP 5: After confirmation → node goman-create.js for each key (all languages at once)
STEP 6: Show replacement code snippets:
Before: <button>Submit</button>
After: <button>{t("LoginForm.submitButton")}</button>3. Search / Audit Translations
STEP 1: node goman-namespaces.js → understand project structure
STEP 2: node goman-search.js → filter by namespace or search query
STEP 3: node goman-languages.js → compare found keys vs active languages
STEP 4: Report missing translations per key4. Localize a Folder
STEP 1: List files in the folder (ask user if not provided)
STEP 2: For each file: find hardcoded strings
STEP 3: node goman-languages.js
STEP 4: Show full plan across all files, ask confirmation
STEP 5: Batch node goman-create.js calls
STEP 6: Show replacement code for each fileSafety Rules
- NEVER run without explicit user confirmation
goman-delete.js - ALWAYS run first — only use language codes it returns
goman-languages.js - ALWAYS show what will be affected before destructive actions
- ALWAYS include argument in
context— it helps translatorsgoman-create.js - Present results in readable format, never raw JSON
Detailed Workflows
For complex scenarios, see workflows.md.