Configure Lokalise local development with file sync and hot reload. Use when setting up a development environment, configuring translation sync, or establishing a fast iteration cycle with Lokalise. Trigger with phrases like "lokalise dev setup", "lokalise local development", "lokalise dev environment", "develop with lokalise", "lokalise sync".
Set up a fast, reproducible local development workflow for Lokalise with automatic translation sync.
lokalise-install-auth setuplokalise2) installedRead(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)| Error | Cause | Solution |
|---|
project_id not found | Missing config | Set LOKALISE_PROJECT_ID or lokalise.json |
File not found | Wrong path | Check bundle_structure matches src/locales |
Rate limit 429 | Too many requests | Add delay between operations |
Polling timeout | Large file upload | Increase poll-timeout |
set -euo pipefail
# Pull all translations
npm run i18n:pull
# Push source strings only
npm run i18n:push
# Full sync (push then pull)
npm run i18n:sync
# .env.local
LOKALISE_API_TOKEN=your-api-token
LOKALISE_PROJECT_ID=123456789.abcdef
See lokalise-sdk-patterns for production-ready code patterns.44:["$","$L4d",null,{"content":"$4e","frontMatter":{"name":"lokalise-local-dev-loop","description":"Configure Lokalise local development with file sync and hot reload.\nUse when setting up a development environment, configuring translation sync,\nor establishing a fast iteration cycle with Lokalise.\nTrigger with phrases like "lokalise dev setup", "lokalise local development",\n"lokalise dev environment", "develop with lokalise", "lokalise sync".\n","allowed-tools":"Read, Write, Edit, Bash(npm:), Bash(pnpm:), Bash(lokalise2:*), Grep","version":"1.0.0","license":"MIT","author":"Jeremy Longshore [email protected]","compatible-with":"claude-code, codex, openclaw"}}]