Sha256: df6a1b73036c7aaf0392773438326f9551659152d076718edcf4436f4a8afb48

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 Bytes

Contents

I18nAdminUtils.config do |config|

  #Model that contains the translation must have locale, key and value columns
  config.translation_model = Translation

  #Reload the translation after they have been updated
  config.reload_translation_after_update = true

  #List of locales used in your application
  config.locales = ['en']


  #List of folder where the app will look for the use of the t() method
  config.search_folders = ["#{Rails.root}/app"]

  #To exclude some folder included in the search_folders
  #Not working yet!
  #config.search_folders_exclude = []
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
i18n_admin_utils-0.0.3 lib/generators/i18n_admin_utils/templates/initializer.rb
i18n_admin_utils-0.0.3 test/tmp/config/initializers/i18n_admin_utils.rb
i18n_admin_utils-0.0.2 lib/generators/i18n_admin_utils/templates/initializer.rb
i18n_admin_utils-0.0.2 test/tmp/config/initializers/i18n_admin_utils.rb