App-xlate
view release on metacpan or search on metacpan
without the `--interactive` and `--tty` options.
- **-N**
Specifies the name of the live container explicitly. Once you have
created a container named `xlate`, you can connect to it with just
the `-A` option.
- **-K**
Kill and remove the existing live container. If a container with the
specified name (default is `xlate`) exists, it will be stopped and
removed.
# ENVIRONMENT
- DEEPL\_AUTH\_KEY
DeepL API key.
- OPENAI\_API\_KEY
OpenAI API key.
- ANTHROPIC\_API\_KEY
Anthropic API key.
- LLM\_PERPLEXITY\_KEY
Perplexity API key.
# FILES
- `*.LANG`
Specifies translation languages.
- `*.FORMAT`
Specifies translation format.
- `*.ENGINE`
Specifies translation engine.
# EXAMPLES
1\. Translate a Word document to English:
xlate -DMa -t EN-US example.docx
2\. Translate to multiple languages and formats:
xlate -M -o 'xtxt ifdef' -t 'EN-US KO ZH' example.docx
3\. Run a command in Docker container:
xlate -C sdif -V --nocdif example.EN-US.cm
4\. Translate without using API (via clipboard):
xlate -t JA README.md
# SEE ALSO
[App::Greple::xlate](https://metacpan.org/pod/App%3A%3AGreple%3A%3Axlate)
# AUTHOR
Kazumasa Utashiro
# LICENSE
Copyright © 2023-2025 Kazumasa Utashiro.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
( run in 3.336 seconds using v1.01-cache-2.11-cpan-df04353d9ac )