validates_url: I18n problem: doesn't find error messages
I’m not presented with the expected error messages. Instead:

Or:

I then tried this as a workaround:
validates :url, url: {allow_blank: true, message: I18n.t('errors.messages.url')}
But this results in this:

I have restarted the server, etc.
I’m on Rails 4.2, is this maybe the problem?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 16 (8 by maintainers)
I believe it’s really this issue because everyone said their application is an a locale that’s neither
en,trorja. Possibly the translation is missing for them because 1.0.2 (currently the latest) on RubyGems does not contain translations forde,frandpt-BR.dedefrpt-BR(I forgot to mention)There are translations for these locales on the
masterbranch, but not on 1.0.2 at RubyGems.