Class: GAI18n::Translator

Inherits:
Object
  • Object
show all
Defined in:
lib/gai18n/translator.rb

Instance Method Summary collapse

Instance Method Details

#translateObject



3
4
5
6
7
8
# File 'lib/gai18n/translator.rb', line 3

def translate
  threads = Locale.target_locale_files.map do |target_locale_file|
    Thread.new { target_locale_file.translate }
  end
  threads.each(&:join)
end