0.0
No release in over a year
Test gem for translating languages to other languages. Working by Text Translator from Rapid API. Just a first gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Gem_Translator Gem Version

Made using Rapid Api (Text Translator). Translate text to 100+ languages. Fast processing, cost saving. Free up to 100,000 characters per month.

Install

gem install my_gem

Use (Sample)

require 'Gem_Translator'

translator = Translator.new('en', 'ru', 'api') #First - source language, second - target language, api - your api from https://rapidapi.com/dickyagustin/api/text-translator2 (must registred)
puts translator.translate('Yellow submarine') #Prompt for translate

Methods

#translate('String') - translate prompt
#change_source_lang('String') - change source language
#change_target_lang('String') - change target language
#view_code_all - view all available language codes
#view_code('String') - view the code for a specific language