lokalise-local-dev-loop
Installation
SKILL.md
Lokalise Local Dev Loop
Overview
Set up a complete local development workflow with Lokalise: project structure for i18n files, CLI push/pull commands, file watching for auto-upload, mock translations for offline development, framework integration (React i18next, Vue i18n), and a pre-commit hook to keep translations synced.
Prerequisites
- Lokalise API token exported as
LOKALISE_API_TOKEN - Lokalise project ID exported as
LOKALISE_PROJECT_ID - Node.js 18+ with npm or pnpm
lokalise2CLI installed- Git (for pre-commit hook)
Instructions
- Set up the project directory structure for i18n files, compatible with Lokalise's
bundle_structureand most i18n frameworks.