Milovidov Mikhail > APP-Yatranslate-0.02 > yatranslate

Download:
APP-Yatranslate-0.02.tar.gz

Annotate this POD

View/Report Bugs
Source  

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 "Я в порядке"
syntax highlighting: