add-locale
Add a new translation locale
This skill adds a new locale to the Polar frontend i18n package (clients/packages/i18n) and the corresponding public docs. Each step produces its own commit so the PR reads cleanly.
Ask the user for the locale if they haven't provided one. You need:
${isoAlpha2}— the locale code used as the filename and config key (e.g.ko,ja,pt-PT). This is the value appended toSUPPORTED_LOCALESverbatim.${localeName}— the human-readable name used inLOCALE_NAMES(e.g.Korean (South Korea),Japanese). Follow the style of the existing entries inclients/packages/i18n/src/config.ts.
Throughout this doc, ${isoAlpha2} is substituted literally into filenames, branch names, commit messages, and identifiers.
Step 1: Sync main
git checkout main
git pull --ff-only
Bail out if the working tree isn't clean — ask the user before stashing or discarding anything.
More from polarsource/polar
local-environment
Local development environment management for Polar using Docker
76vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
62handbook-backend-development
A skill to add a new entry in the section "Backend Development" of the Polar Handbook. Those entries are there to explain concepts, tooling and best practices related to backend development, and are meant to be read by Polar developers.
34interview-task
Prepare an interview task for a candidate, as part of our hiring process.
4backend-development
Backend development skill for Polar codebase, covering development commands, design and implementation guidelines. Use this skill when the task involves backend coding, API design, or database operations.
2