ray5273/Ollama Korean to English Translator
Translate Korean markdown documents to English using local Ollama API with Exaone3.5 model
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 13, 2026
- License
- MIT
Pinned Snippet
uses: ray5273/ollama-doc-translator@dac76cf38511e6c7458f90f4d3ae06ea1f460e5d # v2.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ollama-url | Ollama API URL | no | http://localhost:11434 |
| model | Ollama model to use for translation | no | exaone3.5:7.8b |
| context-length | Model context length for smart chunking. Larger values allow bigger chunks but require more memory. Set to 0 to disable chunking entirely. | no | 32768 |
| source-dir | Source directory containing Korean markdown files | no | docs |
| target-dir | Target directory for English translations | no | docs-en |
| file-pattern | File pattern to match (glob) | no | **/*.md |
| specific-files | Specific files to translate (comma-separated list, overrides file-pattern if provided). Example: "docs/file1.md,docs/file2.md" | no | "" |
| commit-message | Commit message for translated files | no | docs: Update English translations |
| create-pr | Create pull request with translations. If false, commits directly to base branch. | no | false |
| pr-title | Pull request title | no | Update English documentation translations |
| pr-branch | Branch name for pull request | no | translation-update |
| github-token | GitHub token for creating PR | no | ${{ github.token }} |
| base-branch | Base branch for pull request | no | main |
| github-api-url | GitHub API URL (for GitHub Enterprise) | no | https://api.github.com |
| skip-existing | Skip translation of files that already exist and are newer than the source file (based on modification time) | no | true |
| temperature | Model temperature (0.0-1.0). Lower values (0.1) produce more consistent translations, higher values (0.7) more creative but potentially inconsistent results. | no | 0.3 |
| max-retries | Maximum number of retries for failed API calls before falling back to original text | no | 3 |
| ssl-verify | Enable SSL certificate verification | no | true |
| debug-mode | Enable debug mode to generate detailed chunking analysis and comparison files (debug_chunks/, debug_originals/, debug_translations/) | no | false |
Outputs
| name | description |
|---|---|
| translated-files | Number of files translated |
| skipped-files | Number of files skipped |
| pr-url | Pull request URL if created |
| pr-number | Pull request number if created |
| translated-files-list | List of translated files (newline-separated) |