lucasrenan/mongoid-i18n-embedded — pull request #5 by tiagogodinho (2011-11-11 05:09:15+00:00)
Title: Creation of a generator to the configuration file.

Create `config/initializers/mongoid_i18n_embedded.rb` with the default configuration for the gem. Solves part of the problem for the issue #3.

`$ rails generate mongoid_i18n_embedded:install`

```ruby
Mongoid::I18n.setup do |config|
config.locales = [:en]
end
```

It would be nice if you could configure the languages ​​in generator. Exemple:

`$ rails generate mongoid_i18n_embedded:install en pt-BR de`

```ruby
Mongoid::I18n.setup do |config|
config.locales = [:en, :'pt-BR', :de]
end
```

Another suggestion is that the name of the generator can be `config`.

`$ rails generate mongoid_i18n_embedded:config en pt-BR de`

I wait for suggestions.