Browse files

Mention how to modify locale paths in the README

  • Loading branch information...
1 parent 4fabbfe commit 66aa18e49776bcad18c4ba25556b98d13c8e43e1 @jim committed Sep 11, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -50,3 +50,13 @@ carmen-rails [have been thoroughly TomDoc'ed](
There is a [live demo app]( that shows
carmen-rails in action, and includes a [step-by-step setup guide](
+## Configuration
+Using this library will automatically set Carmen to use [Rails' built-in I18n functionality]( This means that changing
+some configuration should be done through Rails and not Carmen. For example, adding paths for additional locale files
+should be done inside `config/application.rb`:
+``` ruby
+config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]

0 comments on commit 66aa18e

Please sign in to comment.