autoglot/autoglot translate
Translate Xcode String Catalogs (.xcstrings), Android string resources, and web localization files using autoglot
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | Your autoglot API key (get one at https://autoglot.app/dashboard/api-keys) | yes | — |
| paths | Paths to search for translation files. Supports glob patterns. Leave empty to find .xcstrings files only. To translate Android string resources, set this to your source res/values directory or XML files. | no | "" |
| languages | Comma-separated list of target languages (e.g., "de,fr,ja") | yes | — |
| api-url | autoglot API URL (default: https://api.autoglot.app) | no | https://api.autoglot.app |
| github-token | GitHub PAT for creating PRs (optional if autoglot GitHub App is installed) | no | "" |
| branch-name | Branch name for translations (ignored when output-mode is commit-to-branch) | no | autoglot/translations |
| base-branch | Base branch to create PR against | no | main |
| commit-message | Commit message for translation updates | no | chore(i18n): update translations |
| pull-request-title | PR title for translation updates (ignored when output-mode is commit-to-branch) | no | chore(i18n): update translations |
| output-mode | Output mode: 'create-pr' (default) creates a new PR, 'commit-to-branch' commits directly to a branch. Omit head-branch to commit directly to base-branch. | no | create-pr |
| head-branch | Branch to commit translations to. Defaults to base-branch when output-mode is commit-to-branch. | no | "" |
| wait-for-completion | Wait for translation job to complete before exiting. Defaults to true for commit-to-branch mode, false otherwise. | no | "" |
Outputs
| name | description |
|---|---|
| job-id | Batch job ID for tracking (or 'skipped' if this was our own commit) |
| skipped | Whether the translation was skipped (true if triggered by our own commit) |
| pr-number | Pull request number (if wait-for-completion is enabled and PR was created) |