Skip to Content
Explore the updated Linguolink documentation experience.
API and IntegrationsIntegration Examples

Integration Examples

CI Workflow Example

- name: Download translations run: | curl -H "Authorization: Bearer ${{ secrets.LINGULINK_API_KEY }}" \ "https://app.lingulink.com/api/v1/export?project_id=$PROJECT_ID&language=en&format=json" \ -o ./src/translations/en.json

Runtime Usage Pattern

  • Fetch translations on build/deploy
  • Cache locally per environment
  • Refresh on release events or scheduled sync

Cron Sync Example

# daily sync at 02:00 0 2 * * * curl -H "Authorization: Bearer $LINGULINK_API_KEY" \ "https://app.lingulink.com/api/v1/export?project_id=$PROJECT_ID&language=en&format=json" \ -o /app/locales/en.json

Safe Deployment Pattern

  1. Pull translations during CI
  2. Validate JSON schema/shape
  3. Run smoke tests in staging
  4. Promote build to production

Next Steps

Last updated on