Skip to content

GitHub Integration

The LokAI GitHub integration will allow you to automate translation key synchronization directly from your GitHub workflows — pushing new keys on commit and pulling approved translations before release.

  • GitHub Action — a first-party action to push/pull keys in CI/CD pipelines
  • Automated PRs — open pull requests when new translations are ready
  • Status checks — block merges when required translations are missing
  • Branch-aware sync — sync keys per branch to support feature-based localization

Use the LokAI CLI to push and pull translation keys manually or from your existing CI scripts.

# Example: manual sync in a GitHub Actions workflow (using the CLI)
- name: Pull approved translations
run: lokai pull --project my-app
env:
LOKAI_API_KEY: ${{ secrets.LOKAI_API_KEY }}