crowdin-context-cli
8
总安装量
8
周安装量
#34764
全站排名
安装命令
npx skills add https://github.com/crowdin/skills --skill crowdin-context-cli
Agent 安装分布
opencode
8
gemini-cli
8
github-copilot
8
codex
8
kimi-cli
8
cursor
8
Skill 文档
Crowdin Context CLI
Use the Crowdin CLI for context download and upload. Config is read from crowdin.yml by default; override with -c, --config=<path> if needed.
crowdin context <command> [options]
context download
Download strings context to a separate file for enrichment by AI Agent.
crowdin context download [CONFIG OPTIONS] [OPTIONS]
--to=<path>â File path to download the context to. Default:crowdin-context.jsonl-f, --file=<glob>â Filter strings by Crowdin file paths (glob). Multiple paths can be specified--label=<label>â Filter strings by labels. Multiple labels can be specified-b, --branch=<name>â Filter by branch name--croql=<expr>â CroQL expression--since=<YYYY-MM-DD>â Only strings created after this date--format=<value>â Output format. Supported values:jsonl--status=<value>â Filter by context status. Supported values:empty,ai,manual
Config options (if not using a config file): -T, --token, -i, --project-id, --base-url, --base-path. Use -c, --config=<path> to override config file (default: crowdin.yml or crowdin.yaml).
context upload
Upload strings context. Only files previously downloaded by context download are supported.
crowdin context upload [CONFIG OPTIONS] [OPTIONS]
--from=<path>â File path to upload the context from. Default:crowdin-context.jsonl--overwriteâ Also update strings whereai_contextis empty (removes their AI section). Default: false--dryrunâ Print command output without execution
JSONL format
One JSON object per line. Fields:
idâ String ID in Crowdinkeyâ String keytextâ Source textfileâ Crowdin file pathcontextâ Existing source contextai_contextâ AI context to set (edit this field before uploading)
Example line:
{"file":"/src/locales/en.po","ai_context":"","context":"#: src/App.tsx:54","id":3125833,"text":"Click on the Vite and React logos to learn more","key":"Click on the Vite and React logos to learn more"}
Typical Workflow
- Download:
crowdin context download(writes tocrowdin-context.jsonlby default) orcrowdin context download --to=path/to/file.jsonl - Edit the file – fill in
ai_contextfor each string (use context-extraction to help). - Upload:
crowdin context upload(reads fromcrowdin-context.jsonlby default) orcrowdin context upload --from=path/to/file.jsonl