generaltranslation/GT Translate
Github Action integration for gtx-cli translate
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| app_directory | Relative path to the directory containing the app source code | no | — |
| gt_api_key | API key for General Translation cloud service | yes | — |
| gt_project_id | Project ID for the translation service | yes | — |
| config | Filepath to config file, by default gt.config.json | no | — |
| version_id | Version ID for the translation service | no | — |
| tsconfig | Path to jsconfig or tsconfig file | no | — |
| dictionary | Path to dictionary file | no | — |
| src | Filepath to directory containing the app source code | no | — |
| default_language | Default locale (e.g., en) | no | — |
| locales | Space-separated list of locales (e.g., en fr es) | no | — |
| inline | Include inline <T> tags in addition to dictionary file | no | true |
| ignore_errors | Ignore errors encountered while scanning for <T> tags | no | false |
| dry_run | Dry run, does not send updates to General Translation API | no | false |
| timeout | Timeout in seconds for waiting for updates to be deployed to the CDN | no | — |
| experimental_localize_static_urls | Run script to localize all urls in content files | no | false |
| experimental_hide_default_locale | Hide the default locale from the path when localizing static locales | no | false |
| experimental_flatten_json_files | Flatten json files into a single file | no | false |
| experimental_localize_static_imports | Run script to localize all imports in static files | no | false |
| github_token | GitHub token for creating pull requests | no | ${{ github.token }} |
| version | gtx-cli version to use | no | latest |
| pr_branch | Branch name for pull requests | no | gt-translate/${{ github.ref_name }} |
| pr_title | Title for pull requests | no | [ci] translation |
| pr_auto_merge | Auto-merge pull requests | no | false |
| pr_body | Body for pull requests | no | ## 🌍 General Translation Update This is an **automated pull request** created by [General Translation](https://generaltranslation.com/). ### What's included - Translation updates based on your latest changes - Updated dictionary and localized content ### Next steps 1. Review the translations for accuracy 2. Test the changes in your development environment 3. Merge when ready to deploy translated content ### Commit ${{ github.event.head_commit.author.name || 'Unknown' }} ${{ github.event.head_commit.author.email || 'unknown@example.com' }} ${{ github.event.head_commit.author.date || 'Unknown date' }} ${{ github.event.head_commit.message || 'No commit message available' }} --- *Generated automatically by GT Translate* |
Outputs
no outputs