added translate.rb