imaun/GPT Translate Action - Translate any files with OpenAI ChatGPT

Detects changes in specified file types, translates them using OpenAI API, and commits the translations.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api_keyAI Service API Keyyes
ai_serviceAI service provider (openai, gemini, claude, azure)noopenai
ai_modelAI model Specify model (e.g., gemini-pro, claude-v1)nogpt-4
target_langTarget language for translation (e.g., Persian, Spanish, German, French)noPersian
target_lang_codeTarget language code. (e.g: fa for Persian, or ru for Russian)nofa
file_extsComma-separated list of file extensions to translate (e.g., md,json,txt)nomd
output_formatPattern for translated filenames. Use {lang} for language and {ext} for extension (e.g., *-{lang}.{ext}, translated_*.{ext})no*-{lang}.{ext}
user_promptCustomized user-prompt to send to AI model.noTranslate this text to {TARGET_LANG} while keeping YAML keys, Any html or json markups unchanged: {text}
system_promptCustomized system-prompt to send to AI model.noYou are a translator specializing in software development. Preserve YAML metadata, HTML, and other markuo formats or codes. and also technical terms in general software development DO NOT translate them to target language. Translate the text to {TARGET_LANG}.
base_branchThe base branch to diff against (if not automatically detected)no

no outputs