locize-sync

Official

Sync translations with Locize in your monorepo.

AuthorOpentrons
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Localization workflows across the Opentrons monorepo are simplified by automating the push and pull of translations between local files and Locize. This skill coordinates a cohesive i18n pipeline using a central Python script, enabling teams to keep English and Chinese translations in sync with the cloud service.

Core Features & Use Cases

  • Push Local Translations: Upload English and Chinese translations to Locize, consolidating component translations into app-level localization before syncing.
  • Download Remote Translations: Retrieve updated translations from Locize and apply them locally, overwriting existing files in app/src/assets/localization/ and components/src/assets/localization/.
  • Dry-Run & Safety: Preview actions without applying changes using --dry-run, and validate environment variables (LOCIZE_API_KEY, LOCIZE_PROJECT_ID) before operations.
  • CI/CD & Automation: Integrate Locize sync into automated workflows for release pipelines; supports both push and download directions for multi-language teams.

Quick Start

Run uv run scripts/locize_sync.py push-local --dry-run to preview translations that would be uploaded.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: locize-sync
Download link: https://github.com/Opentrons/opentrons/archive/main.zip#locize-sync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.