artryazanov/Gemini README Translator
Automatically translates README.md to multiple languages using Gemini API and adds a navigation menu.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api_key | Gemini API Key | yes | — |
| github_token | GitHub Token for committing or creating PR | yes | — |
| languages | Comma-separated list of target languages (e.g., 'ru, zh-CN, es, de') | yes | — |
| add_language_menu | Set to 'false' to disable automatic generation of the language navigation menu | no | true |
| use_absolute_links | Set to 'false' to use relative links instead of absolute GitHub URLs in the language menu. | no | true |
| menu_style | The style of the language menu if it's generated from scratch. AI will use this as a reference. | no | > 🌐 **Languages:** [English](README.md) | [Русский](README.ru.md) | [中文](README.zh-CN.md) |
| commit_message | Commit message to use when changes are pushed | no | docs: auto-translate README via Gemini |
| skip_commit | Set to 'true' to completely skip committing or creating a PR (useful for dry runs / testing) | no | false |
| model | Gemini model to use | no | gemini-3.1-pro-preview |
| source_file | Source markdown file | no | README.md |
| output_dir | Directory to save translated files (default is the same directory as the source file) | no | "" |
Outputs
| name | description |
|---|---|
| total_tokens_used | Total number of tokens used for the translation operation |
| input_tokens_used | Number of input tokens processed during translation |
| output_tokens_used | Number of output tokens generated during translation |
| duration_seconds | Duration of the translation process in seconds |