Sha256: 0c72a225ce607a333fe4304d10e212629e17aafe36128d926754473fc7980141

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

#
def rwdlanggoogle_lookup

require 'lib/g_translate'
  @rwdlangspanish_result =   GTranslate.translate  @rwdlanguage_datain, :from => 'en'  , :to =>  'es'
@rwdlangjapanese_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'ja'


@rwdlangnl_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'nl'

@rwdlangar_result  = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'ar'

@rwdlangfr_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'fr'

@rwdlangit_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'it'
@rwdlangel_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'el'
@rwdlangru_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'ru'
@rwdlangzh_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'zh'
@rwdlangde_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'de'
@rwdlangpt_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to =>  'pt'
@rwdlanghe_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to => 'he'
@rwdlanghi_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to => 'hi'
@rwdlangko_result = GTranslate.translate @rwdlanguage_datain, :from => 'en'  , :to => 'kp'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwdlanguage-0.01 code/superant.com.language/googlelang.rb