Client for Google Translate API
Client for Google Translate API
Add this line to your application's Gemfile:
gem 'google-translate'And then execute:
$ bundleOr install it yourself as:
$ gem install google-translateDisplays the version:
$ t -vDisplays the list of supported languages:
$ t listTranslates from English to Russian language:
$ t en:ru hello worldTranslates to Russian from auto-detected language:
$ t ru hello worldTranslates and tries to say it:
$ t -s ru hello worldor
$ ts ru hello worldTranslates and gives extra information (nouns, verbs, synonyms):
$ t -e ru helpgit checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)No open issues yet, or sync has not completed.