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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 5, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: mangoappstudio/gpt-localize-action@094c59d68a22d135841d13dd322c8c2b8d2f5698 # v2.10.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenGitHub token used for git operations (recommended). Defaults to the workflow's GITHUB_TOKEN.no
openai_api_keyOpenAI API key for fetching translations (deprecated, use ai_api_key)no
ai_api_keyAPI key for the AI provider (supports OpenAI, Anthropic, etc.)no
ai_providerAI provider to use (openai, anthropic). Default: openainoopenai
ai_modelAI model to use. Default depends on provider (gpt-4 for openai, claude-3-haiku-20240307 for anthropic)no
personal_access_tokenPersonal Access Token to create branches and PRs (deprecated, use token)no
locales_pathThe path to the locales directory relative to the repository rootyes""
base_languageThe base language for translations (default: en)noen
base_fileThe base translation file (default: en.json)noen.json
create_pull_requestWhether to create a pull request (true) or commit directly to branch (false). Default: truenotrue
rate_limit_max_retriesMax retries per request on 429 rate limits (default: 6)no6
rate_limit_error_thresholdFail the run after this many total 429s (default: 25)no25
rate_limit_base_delay_msInitial backoff delay in ms for 429 retries (default: 1000)no1000
rate_limit_max_delay_msMax backoff delay in ms for 429 retries (default: 30000)no30000
rate_limit_jitter_msMax jitter in ms added to 429 backoff (default: 250)no250
namedescription
has_changesIndicates if any translation changes were made