askill
lokalise-ci-integration

lokalise-ci-integrationSafety 95Repository

Configure Lokalise CI/CD integration with GitHub Actions and automated sync. Use when setting up automated translation sync, configuring CI pipelines, or integrating Lokalise into your build process. Trigger with phrases like "lokalise CI", "lokalise GitHub Actions", "lokalise automated sync", "CI lokalise", "lokalise pipeline".

1.6k stars
32.3k downloads
Updated 3/15/2026

Package Files

Loading files...
SKILL.md

Lokalise CI Integration

Overview

Automate translation workflows with Lokalise in CI/CD pipelines. Covers pushing source strings on merge, pulling translations before builds, validating translation completeness, and webhook-triggered deployments.

Prerequisites

  • Lokalise API token stored as GitHub secret
  • Lokalise CLI (@lokalise/cli2) or API SDK
  • GitHub Actions configured
  • Project ID identified

Instructions

  1. For full implementation details, load: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)

Error Handling

IssueCauseSolution
Upload failsInvalid JSONValidate locale files before push
Missing translationsDownload with empty stringsUse --export-empty-as skip
Webhook not triggeredDispatcher not configuredSet up Lokalise webhook to GitHub
Wrong file structurePrefix mismatchUse --directory-prefix "" in download

Examples

Local Translation Script

#!/bin/bash
# scripts/lokalise-pull.sh
lokalise2 file download \
  --token "$LOKALISE_API_TOKEN" \
  --project-id "$LOKALISE_PROJECT_ID" \
  --format json \
  --unzip-to "src/locales/"
echo "Translations updated"

Resources

Output

  • Configuration files or code changes applied to the project
  • Validation report confirming correct implementation
  • Summary of changes made and their rationale

See CI/CD implementation details for output format specifications.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 3/15/2026

Metadata

Licenseunknown
Version1.0.0
Updated3/15/2026
Publisherjeremylongshore

Tags

apici-cdgithubgithub-actionssecurity