freed-wu/translate-shell
Translate .po of one repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | files need to be translated, support glob | — | **/*.po |
| target-lang | target language, po's metadata's Language override it | — | zh_CN |
| source-lang | source language | — | en |
| translator | translator | — | |
| option | the option passed to translator, such as 'temperature=0 max_tokens=256' | — | — |
| wrapwidth | wrap the width by polib | — | 76 |
| progress | display progress of translation | — | false |
| verbose | display diff of translation | — | true |
| dry-run | do nothing | — | false |
| force | force to retranslate translated po | — | false |
Outputs
no outputs