Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Add or update a language translation in the privacy policy generator. Trigger when user says: "add {language} translation", "add locale", "translate to {language}", "add localization for {language}", or when a user wants to contribute a new language.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -45% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -43% | 0% |
shcp src/locales/en.json src/locales/{code}.json
Use the ISO 639-1 language code (e.g., es, fr, de, ja, pt, zh).
Edit the new JSON file. Only translate values, never keys.
✅ Correct:
json"wizard.step1.tagline": "Genera un documento personalizado..."
❌ Wrong — don't change keys:
json"wizard.step1.tagline_es": "Genera un documento personalizado..."
{{ variable }} placeholdersKeep placeholders like {{ appName }}, {{ platformDesc }}, {{ deviceType }} unchanged in the translated text.
shmake build
The Go build tool automatically detects all JSON files in src/locales/ and generates per-locale HTML + JS.
Open public/index.html — the language switcher dropdown now includes the new language.
{{ variable }} placeholders preservednpm run build succeedsthirdpartyservices.yml — only the name field in the locale JSON if you add locale-specific names.meta.* keys) are updated dynamically via JS after page load.Other measured skills in the registry, with their headline benchmark lift.