Module: RailsTranslationManager

Defined in:
lib/rails_translation_manager.rb,
lib/rails_translation_manager/cleaner.rb,
lib/rails_translation_manager/railtie.rb,
lib/rails_translation_manager/version.rb,
lib/rails_translation_manager/locale_checker.rb

Defined Under Namespace

Classes: Cleaner, Exporter, I18nTasksOptionParser, Importer, LocaleChecker, Railtie

Constant Summary collapse

VERSION =
"1.8.0"

Class Method Summary collapse

Class Method Details

.locale_rootObject



23
24
25
26
27
28
29
# File 'lib/rails_translation_manager.rb', line 23

def self.locale_root
  if ENV["RAILS_TRANSLATION_MANAGER_LOCALE_ROOT"]
    Pathname.new(ENV["RAILS_TRANSLATION_MANAGER_LOCALE_ROOT"])
  else
    Rails.root.join("config/locales")
  end
end