ray5273/Ollama Korean to English Translator

Translate Korean markdown documents to English using local Ollama API with Exaone3.5 model

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 13, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ray5273/ollama-doc-translator@dac76cf38511e6c7458f90f4d3ae06ea1f460e5d # v2.2.0

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

namedescriptionrequireddefault
ollama-urlOllama API URLnohttp://localhost:11434
modelOllama model to use for translationnoexaone3.5:7.8b
context-lengthModel context length for smart chunking. Larger values allow bigger chunks but require more memory. Set to 0 to disable chunking entirely.no32768
source-dirSource directory containing Korean markdown filesnodocs
target-dirTarget directory for English translationsnodocs-en
file-patternFile pattern to match (glob)no**/*.md
specific-filesSpecific files to translate (comma-separated list, overrides file-pattern if provided). Example: "docs/file1.md,docs/file2.md"no""
commit-messageCommit message for translated filesnodocs: Update English translations
create-prCreate pull request with translations. If false, commits directly to base branch.nofalse
pr-titlePull request titlenoUpdate English documentation translations
pr-branchBranch name for pull requestnotranslation-update
github-tokenGitHub token for creating PRno${{ github.token }}
base-branchBase branch for pull requestnomain
github-api-urlGitHub API URL (for GitHub Enterprise)nohttps://api.github.com
skip-existingSkip translation of files that already exist and are newer than the source file (based on modification time)notrue
temperatureModel temperature (0.0-1.0). Lower values (0.1) produce more consistent translations, higher values (0.7) more creative but potentially inconsistent results.no0.3
max-retriesMaximum number of retries for failed API calls before falling back to original textno3
ssl-verifyEnable SSL certificate verificationnotrue
debug-modeEnable debug mode to generate detailed chunking analysis and comparison files (debug_chunks/, debug_originals/, debug_translations/)nofalse
namedescription
translated-filesNumber of files translated
skipped-filesNumber of files skipped
pr-urlPull request URL if created
pr-numberPull request number if created
translated-files-listList of translated files (newline-separated)