mangoappstudio/GPT Localize Action
Easily keep your translation files up-to-date and in sync with the latest English source strings using GPT-4.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 5, 2026
- License
- None
Pinned Snippet
uses: mangoappstudio/gpt-localize-action@094c59d68a22d135841d13dd322c8c2b8d2f5698 # v2.10.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token used for git operations (recommended). Defaults to the workflow's GITHUB_TOKEN. | no | — |
| openai_api_key | OpenAI API key for fetching translations (deprecated, use ai_api_key) | no | — |
| ai_api_key | API key for the AI provider (supports OpenAI, Anthropic, etc.) | no | — |
| ai_provider | AI provider to use (openai, anthropic). Default: openai | no | openai |
| ai_model | AI model to use. Default depends on provider (gpt-4 for openai, claude-3-haiku-20240307 for anthropic) | no | — |
| personal_access_token | Personal Access Token to create branches and PRs (deprecated, use token) | no | — |
| locales_path | The path to the locales directory relative to the repository root | yes | "" |
| base_language | The base language for translations (default: en) | no | en |
| base_file | The base translation file (default: en.json) | no | en.json |
| create_pull_request | Whether to create a pull request (true) or commit directly to branch (false). Default: true | no | true |
| rate_limit_max_retries | Max retries per request on 429 rate limits (default: 6) | no | 6 |
| rate_limit_error_threshold | Fail the run after this many total 429s (default: 25) | no | 25 |
| rate_limit_base_delay_ms | Initial backoff delay in ms for 429 retries (default: 1000) | no | 1000 |
| rate_limit_max_delay_ms | Max backoff delay in ms for 429 retries (default: 30000) | no | 30000 |
| rate_limit_jitter_ms | Max jitter in ms added to 429 backoff (default: 250) | no | 250 |
Outputs
| name | description |
|---|---|
| has_changes | Indicates if any translation changes were made |