edit config/application.rb for i18n.enforce_available_locales = true