lokalise-local-dev-loop

Featured

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".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 - `lokalise2` CLI installed - Git (for pre-commit hook) ## Instructions 1. Set up the project directory structure for i18n files, compatible with Lokalise's `bundle_structure` and most i18n frameworks. ``` project-root/ ├── src/ │ └── locales/ │ ├── en.json # Base language (source of truth) │ ├── fr.json # Downloaded from Lokalise │ ├── de.json │ ├── es.json │ └── index.ts # Barrel export + type definitions ├── scripts/ │ ├── i18n-push.sh # Upload source to Lokalise │ ├── i18n-pull.sh # Download translations from Lokalise │ └── i18n-mock.ts # Generate mock translations ├── .env.local # LOKALISE_API_TOKEN, LOKALISE_PROJECT_ID └── package.json # i18n:push, i18n:pull, i18n:sync scripts ``` **Barrel export with type safety (`src/locales/index.ts`):** ```typescript import en from "./en.json"; // Type derived from base language — all other locales must match this shape export type ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category