The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

yatranslate - Translation using Yandex Transtlator Api

SYNOPSIS

yatranslate [options] phrase ...

Options:
  -d, --direction=direction    Set default language direction. For example: -d="ru-en".
  -t, --to=language            Set target language.
  -l, --langs                  Print all supported language directions.
  -v, --version                Print version.
  -?, --help                   Print this message.

Examples:
  yatranslate -t "en" Привет       #will return "Hi"

  yatranslate -d "ru-en"           #will set default language direction
  yatranslate Привет "Как дела?"   #will return "Hi" and "How are you doing?"
  yatranslate Hi "I'm fine!"       #will return "Привет" and "Я в порядке"