I have a problem with a Rails 2.3.8 application. I use rails i18n to make a site in different languages. Everything works fine, everywhere except in one place.
After successful registration I:
flash[:notice] = t 'path.to.locale.key'
Just like everywhere else.
But it does the following:
translation missing: 'locale.path.to.locale.key' not found
It does not seem to load the current locale (otherwise it will say "en", or "es", or something else, not "locale").
Any idea that might be causing this?
thanks
source share