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.