lokalise-core-workflow-b

Featured

Manage Lokalise secondary workflow: Download translations and integrate with app. Use when downloading translation files, exporting translations, or integrating Lokalise output into your application. Trigger with phrases like "lokalise download", "lokalise pull translations", "export lokalise", "get translations from lokalise".

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 Core Workflow B ## Overview Everything on the "Lokalise to app" side: download translated files, manage translations and review status, leverage translation memory, manage contributors and their language access, and handle format differences across JSON, XLIFF, and PO files. ## Prerequisites - Lokalise API token exported as `LOKALISE_API_TOKEN` - Lokalise project ID exported as `LOKALISE_PROJECT_ID` - `@lokalise/node-api` installed for SDK examples - `lokalise2` CLI installed for CLI examples - `unzip` available for extracting download bundles ## Instructions 1. Download translated files. The download endpoint returns an S3 URL to a zip bundle — request the bundle, download the zip, then extract. **SDK — Download and extract:** ```typescript import { LokaliseApi } from "@lokalise/node-api"; import { execSync } from "node:child_process"; import { mkdirSync } from "node:fs"; const client = new LokaliseApi({ apiKey: process.env.LOKALISE_API_TOKEN! }); const PROJECT_ID = process.env.LOKALISE_PROJECT_ID!; // Request the download bundle const download = await client.files().download(PROJECT_ID, { format: "json", original_filenames: false, bundle_structure: "%LANG_ISO%.json", // Output: en.json, fr.json, de.json filter_langs: ["en", "fr", "de", "es"], // Only these languages export_empty_as: "base", // Use base language for empty translations include_tags: ["release-3.0"], // Only keys with this tag replace_breaks: fa...

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