Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures a local Lokalise development loop with CLI push/pull, file watching, mock translations and pre-commit sync.
Use this skill ↓45% 73%+27 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 10 of 22 without it.
Developers on our team complain that running translation pull scripts creates huge noise in `git diff` because keys are reordered randomly or formatted differently by the remote TMS service. How should we configure the CLI download script to prevent key reordering diff churn?
Recommends specifying --export-sort a_z on download commands to maintain key ordering.
3 of 3 safety checks passed
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.
LOKALISE_API_TOKENLOKALISE_PROJECT_IDlokalise2 CLI installedbundle_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):
import en from "./en.json";
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.