Class Vizi::Translator
In: lib/vizi/vizi_translator.rb
Parent: Object

This class includes a set of methods to translate using the Frengly service

Methods

getcodes   getlist   gettext  

Constants

SUPPORTED_LANG_CODES = ['fr','de','es','pt','it','nl','tl','fi','el','iw','pl','ru','sv']
SUPPORTED_LANG_LIST = {"English" => "en", "French" => "fr", "German" => "de", "Spanish" => "es", "Portuguese" => "pt", "Italian" => "it", "Filipino" => "tl","Finnish" => "fi","Greek" => "el", "Hebrew" => "iw", "Polish" => "pl", "Russian" => "ru", "Swedish" => "sv"}

Public Instance methods

method to get array of language codes

method to get hash list of languages

method to translate from one language to another

[Validate]