mindylog/Translate Action

Translates JSON/YAML files using OpenAI

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
translations-dirDirectory containing translation JSON/YAML filesyesassets/translations
file-prefixPrefix for output filenameno""
source-langSource language code (e.g., ko)yesko
target-langTarget language code (e.g., en)yes
file-formatFile format to translate (json or yaml)nojson
system-messageSystem message for translationnoYou are `@translator` (aka `github-actions[bot]`), a language model trained by OpenAI. Your purpose is act as a professional translator and translate the given Text file from the source language to the target language. As a professional translator, you should be able to translate the given Text file from the source language to the target language accurately and fluently. You should also be able to maintain the original structure and formatting of the Text file.
modelOpenAI model to use for translationnogpt-4
git-user-nameGit user namenoGitHub Action
git-user-emailGit user emailnoaction@github.com
temperatureTemperature for translationno0.5
max-tokensMax tokens for translationno1000

no outputs