Push and pull localization files programmatically with the Lokalise API, controlling per-format export options like plural handling and placeholders

domain: developers.lokalise.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate requests with an API token in the X-Api-Token header against a specific project ID
  2. POST to the upload-a-file endpoint with the file content (base64), format, and language ISO code to queue an import; the import runs as a background Queued Process
  3. Poll the returned process ID via the processes endpoint until status is finished before assuming keys/translations were created
  4. Trigger a project export/download via the files endpoint, specifying target format and options (e.g., plural format, placeholder format), then poll its process and fetch the resulting bundle URL
  5. Use the keys/translations endpoints directly for smaller, granular updates instead of a full file round-trip when only a few strings change

Known gotchas

Related routes

Push source strings and pull completed translations through the Transifex API 3.0 (JSON:API) for a continuous localization pipeline
developers.transifex.com · 5 steps · unrated
Configure Lokalise webhooks to trigger a CI pipeline when translation tasks or key/translation events occur
developers.lokalise.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans