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.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
cp src/locales/en.json src/locales/{code}.jsonUse 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:
"wizard.step1.tagline": "Genera un documento personalizado..."❌ Wrong — don't change keys:
"wizard.step1.tagline_es": "Genera un documento personalizado..."{{ variable }} placeholdersKeep placeholders like {{ appName }}, {{ platformDesc }}, {{ deviceType }} unchanged in the translated text.
make buildThe Go build tool detects every JSON file in src/locales/ and generates the HTML and JavaScript for each locale.
Open public/index.html — the language switcher dropdown now includes the new language.
{{ variable }} placeholders preservedmake build succeedsmake check passes (Go vet, build, golden, and Playwright checks)thirdpartyservices.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.nisrulz/app-privacy-policy-generator
906e635
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.