Skip to content

Instantly share code, notes, and snippets.

@exegeteio
Created August 20, 2014 23:27
Show Gist options
  • Save exegeteio/e6ea3528ac85f25ffff3 to your computer and use it in GitHub Desktop.
Save exegeteio/e6ea3528ac85f25ffff3 to your computer and use it in GitHub Desktop.
i18n config.rb
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
config.i18n.default_locale = "en-US"
config.i18n.available_locales = ["es-MX", "en-US"]
config.assets.initialize_on_precompile = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment