autoglot/autoglot translate

Translate Xcode String Catalogs (.xcstrings), Android string resources, and web localization files using autoglot

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyYour autoglot API key (get one at https://autoglot.app/dashboard/api-keys)yes
pathsPaths 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""
languagesComma-separated list of target languages (e.g., "de,fr,ja")yes
api-urlautoglot API URL (default: https://api.autoglot.app)nohttps://api.autoglot.app
github-tokenGitHub PAT for creating PRs (optional if autoglot GitHub App is installed)no""
branch-nameBranch name for translations (ignored when output-mode is commit-to-branch)noautoglot/translations
base-branchBase branch to create PR againstnomain
commit-messageCommit message for translation updatesnochore(i18n): update translations
pull-request-titlePR title for translation updates (ignored when output-mode is commit-to-branch)nochore(i18n): update translations
output-modeOutput 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.nocreate-pr
head-branchBranch to commit translations to. Defaults to base-branch when output-mode is commit-to-branch.no""
wait-for-completionWait for translation job to complete before exiting. Defaults to true for commit-to-branch mode, false otherwise.no""
namedescription
job-idBatch job ID for tracking (or 'skipped' if this was our own commit)
skippedWhether the translation was skipped (true if triggered by our own commit)
pr-numberPull request number (if wait-for-completion is enabled and PR was created)