English to tamil translator: Usage:
gem “t2etranslator” #include gem
This will print “love” in tamil as “அன்பு”
require “t2etranslator” puts T2etranslator.translate(“Love”);
For other language you should pass language code as parameter “hi” is code for “hindi”
require “t2etranslator” puts T2etranslator.translate(“Love”, “hi”);
This will print as “प्यार” (pyar)
Note: This code translates with use of google translate. Feel free to give suggestion and change code.
Email me at: [email protected]