title: Rails Migration: set locale?
body: <p>I have some migrations that import CSV into existing models (using <code>create!(..)</code>). Since I added some more validations, the migration breaks when executed:</p>
  
  <pre><code>Validation failed: Address translation missing: en.activerecord.errors.messages.is_invalid
  </code></pre>
  
  <p>We are using german as default language, so I'm a bit unsure why Rails looks for an english translation. We are using the rails-i18n gem.</p>
  
  <pre><code># application.rb
  config.i18n.default_locale = :de
  config.i18n.available_locales = [:de, :en]
  </code></pre>
  
  <p>Anybody can tell me:</p>
  
  <p>1) Why does Rails look for an english translation?
  2) Why doesn't Rails find the english translation anyway?</p>
  
  <p>Thanks.</p>