{"action":"opened","issue":{"url":"https://api.github.com/repos/svenfuchs/rails-i18n/issues/519","labels_url":"https://api.github.com/repos/svenfuchs/rails-i18n/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/svenfuchs/rails-i18n/issues/519/comments","events_url":"https://api.github.com/repos/svenfuchs/rails-i18n/issues/519/events","html_url":"https://github.com/svenfuchs/rails-i18n/issues/519","id":57838494,"number":519,"title":"Locale file not loading","user":{"login":"adilsoncarvalho","id":349796,"avatar_url":"https://avatars.githubusercontent.com/u/349796?v=3","gravatar_id":"","url":"https://api.github.com/users/adilsoncarvalho","html_url":"https://github.com/adilsoncarvalho","followers_url":"https://api.github.com/users/adilsoncarvalho/followers","following_url":"https://api.github.com/users/adilsoncarvalho/following{/other_user}","gists_url":"https://api.github.com/users/adilsoncarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/adilsoncarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adilsoncarvalho/subscriptions","organizations_url":"https://api.github.com/users/adilsoncarvalho/orgs","repos_url":"https://api.github.com/users/adilsoncarvalho/repos","events_url":"https://api.github.com/users/adilsoncarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/adilsoncarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T18:42:45Z","updated_at":"2015-02-16T18:42:45Z","closed_at":null,"body":"Hi,\r\n\r\nI need to change some values from `rails-i18n` for `pt-BR` but I found an awkward situation.\r\n\r\nMy `pt-BR.yml` file is never loaded and to have those configurations loaded I must put its content inside another file.\r\n\r\nMy `config/application.rb`\r\n\r\n```ruby\r\n     config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]\r\n    config.i18n.available_locales = %i(en pt-BR)\r\n    config.i18n.default_locale = :'pt-BR'\r\n```\r\n\r\nMy `config/locales/pt-BR.yml`\r\n\r\n```yml\r\npt-BR:\r\n  time:\r\n    formats:\r\n      default: ! '%d/%m/%Y %H:%M'\r\n```\r\n\r\nThe result of `Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]`\r\n\r\n```ruby\r\n2.2.0 :001 > puts Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]\r\n/vagrant/projeto/config/locales/devise.en.yml\r\n/vagrant/projeto/config/locales/devise.pt-BR.yml\r\n/vagrant/projeto/config/locales/devise_views.pt-BR.yml\r\n/vagrant/projeto/config/locales/en.yml\r\n/vagrant/projeto/config/locales/models/attributes-default.pt_BR.yml\r\n/vagrant/projeto/config/locales/models/comments.pt-BR.yml\r\n/vagrant/projeto/config/locales/models/service_order.pt-BR.yml\r\n/vagrant/projeto/config/locales/models/task.pt-BR.yml\r\n/vagrant/projeto/config/locales/pundit.en.yml\r\n/vagrant/projeto/config/locales/pundit.pt-BR.yml\r\n/vagrant/projeto/config/locales/simple_form.en.yml\r\n/vagrant/projeto/config/locales/simple_form.pt-BR.yml\r\n/vagrant/projeto/config/locales/views/comments.pt-BR.yml\r\n/vagrant/projeto/config/locales/views/service_order.pt-BR.yml\r\n/vagrant/projeto/config/locales/views/tasks.pt-BR.yml\r\n => nil\r\n2.2.0 :002 > Rails.version\r\n => \"4.2.0\"\r\n```\r\n"}}