weglot/Weglot Translate Action

Translate localization files (JSON/YAML) using your Weglot project

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyWeglot API keyyes
source-pathPath or glob to source file(s), e.g. locales/en.json or "locales/**/*.json"yes
output-dirDirectory for translated files (default: same as source directory)no""
output-modeOutput mode: "files" (write to disk) or "pr" (create a PR with changes)nofiles
languagesComma-separated target language codes from your Weglot project (e.g. fr,de). Default: all enabled languages.no""
translation-timeoutMax seconds to wait for queued LLM translations to resolve before failing. Default: 300.no300
github-tokenToken for GitHub API and git push in PR mode (pass secrets.GITHUB_TOKEN or github.token)no""
namedescription
output-pathDirectory where translated files were written (files mode)
pr-branchPR branch in pr mode: translations/<hex> from source-path, output-dir, and API key (not from languages)
pr-urlURL of the pull request (pr mode)