Quickstart

Get up and running with autoglot in under 5 minutes.

1. Create an account

Sign up for a free account to get your API key.

2. Install the GitHub App

From your dashboard, go to GitHub and click "Configure" to install the autoglot GitHub App on your repositories.

3. Add your API key to GitHub

Go to your repository Settings → Secrets → Actions and add AUTOGLOT_API_KEY.

4. Create a workflow file

Add this workflow to .github/workflows/translate.yml:

yaml
name: Translate

on:
  push:
    branches: [main]
    paths: ['**/*.xcstrings']

jobs:
  translate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: autoglot/action@v2
        with:
          api-key: ${{ secrets.AUTOGLOT_API_KEY }}
          languages: 'de,fr,ja,es'

5. Push your changes

Whenever you push changes to a .xcstrings file, the action will automatically translate it and create a PR with the translations.