App-Greple-xlate
view release on metacpan or search on metacpan
is only available when using ChatGPT engines (gpt3, gpt4, gpt4o). You can
customize the translation behavior by providing specific instructions to the
AI model. If the prompt contains `%s`, it will be replaced with the target
language name.
- **--xlate-context**=_text_
Specify additional context information to be sent to the translation
engine. This option can be used multiple times to provide multiple
context strings. The context information helps the translation engine
understand the background and produce more accurate translations.
- **--xlate-glossary**=_glossary_
Specify a glossary ID to be used for translation. This option is only
available when using the DeepL engine. The glossary ID should be obtained
from your DeepL account and ensures consistent translation of specific terms.
- **--**\[**no-**\]**xlate-progress** (Default: True)
See the tranlsation result in real time in the STDERR output.
- **--xlate-stripe**
Use [App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe) module to show the matched part by zebra
striping fashion. This is useful when the matched parts are connected
back-to-back.
The color palette is switched according to the background color of the
terminal. If you want to specify explicitly, you can use
**--xlate-stripe-light** or **--xlate-stripe-dark**.
- **--xlate-mask**
Perform masking function and display the converted text as is without
restoration.
- **--match-all**
docs/src/xlate.pod view on Meta::CPAN
is only available when using ChatGPT engines (gpt3, gpt4, gpt4o). You can
customize the translation behavior by providing specific instructions to the
AI model. If the prompt contains C<%s>, it will be replaced with the target
language name.
=item B<--xlate-context>=I<text>
Specify additional context information to be sent to the translation
engine. This option can be used multiple times to provide multiple
context strings. The context information helps the translation engine
understand the background and produce more accurate translations.
=item B<--xlate-glossary>=I<glossary>
Specify a glossary ID to be used for translation. This option is only
available when using the DeepL engine. The glossary ID should be obtained
from your DeepL account and ensures consistent translation of specific terms.
=item B<-->[B<no->]B<xlate-progress> (Default: True)
See the tranlsation result in real time in the STDERR output.
=item B<--xlate-stripe>
Use L<App::Greple::stripe> module to show the matched part by zebra
striping fashion. This is useful when the matched parts are connected
back-to-back.
The color palette is switched according to the background color of the
terminal. If you want to specify explicitly, you can use
B<--xlate-stripe-light> or B<--xlate-stripe-dark>.
=item B<--xlate-mask>
Perform masking function and display the converted text as is without
restoration.
=item B<--match-all>
lib/App/Greple/xlate.pm view on Meta::CPAN
is only available when using ChatGPT engines (gpt3, gpt4, gpt4o). You can
customize the translation behavior by providing specific instructions to the
AI model. If the prompt contains C<%s>, it will be replaced with the target
language name.
=item B<--xlate-context>=I<text>
Specify additional context information to be sent to the translation
engine. This option can be used multiple times to provide multiple
context strings. The context information helps the translation engine
understand the background and produce more accurate translations.
=item B<--xlate-glossary>=I<glossary>
Specify a glossary ID to be used for translation. This option is only
available when using the DeepL engine. The glossary ID should be obtained
from your DeepL account and ensures consistent translation of specific terms.
=item B<-->[B<no->]B<xlate-progress> (Default: True)
See the tranlsation result in real time in the STDERR output.
=item B<--xlate-stripe>
Use L<App::Greple::stripe> module to show the matched part by zebra
striping fashion. This is useful when the matched parts are connected
back-to-back.
The color palette is switched according to the background color of the
terminal. If you want to specify explicitly, you can use
B<--xlate-stripe-light> or B<--xlate-stripe-dark>.
=item B<--xlate-mask>
Perform masking function and display the converted text as is without
restoration.
=item B<--match-all>
( run in 2.460 seconds using v1.01-cache-2.11-cpan-d8267643d1d )