webtranslateit/WebTranslateIt Sync
Synchronize translation files between your GitHub repository and WebTranslateIt
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api_key | WTI project API key. If not provided, the key is read from the .wti config file. | no | — |
| config | Path to the .wti config file | no | .wti |
| upload_sources | Push source language files to WebTranslateIt | no | true |
| upload_translations | Push all target (translated) files too (wti push --target) | no | false |
| push_options | Additional flags for wti push (e.g. "--merge --ignore-missing --minor") | no | --merge --ignore-missing |
| download_translations | Pull translated files from WebTranslateIt | no | true |
| pull_options | Additional flags for wti pull (e.g. "--force --locale fr") | no | "" |
| push_translations | Commit and push downloaded translations to the repository | no | true |
| localization_branch_name | Branch name for translation commits | no | l10n_wti_translations |
| commit_message | Commit message for translation updates | no | New translations from WebTranslateIt |
| create_pull_request | Create or update a pull request with translation changes | no | true |
| pull_request_title | Title of the pull request | no | New translations from WebTranslateIt |
| pull_request_body | Body of the pull request | no | Translations synced by [WebTranslateIt GitHub Action](https://github.com/webtranslateit/github-action) |
| pull_request_labels | Comma-separated labels to apply to the pull request | no | localization |
| pull_request_base_branch_name | Base branch for the pull request (defaults to the repository default branch) | no | "" |
Outputs
| name | description |
|---|---|
| pull_request_url | URL of the created or updated pull request |
| pull_request_number | Number of the created or updated pull request |