Module Babelphish
In: lib/babelphish.rb
lib/babelphish/languages.rb
lib/babelphish/translator.rb
lib/babelphish/exceptions.rb
lib/babelphish/html_translator.rb
lib/babelphish/yml_translator.rb

a list of supported languages is available here: code.google.com/apis/ajaxlanguage/documentation/reference.html#_intro_fonje

Methods

Classes and Modules

Module Babelphish::Exceptions
Module Babelphish::GoogleTranslate
Module Babelphish::HtmlTranslator
Module Babelphish::Translator
Module Babelphish::YmlTranslator

Constants

VERSION = '0.2.6'
GOOGLE_AJAX_URL = "http://ajax.googleapis.com/ajax/services/language/"
MAX_RETRIES = 3

Public Class methods

[Source]

# File lib/babelphish.rb, line 42
  def self.load_tasks
    if File.exists?('Rakefile')
      load 'Rakefile'
      Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
      return true
    else
      return false
    end
  end

[Validate]