internationalization - Rails i18n: Translation missing problem, locale not defined -
i have problem rails 2.3.8 application. i'm using rails i18n make site in different languages. works perfect, everywhere, except 1 place.
after successful signup, do:
flash[:notice] = t 'path.to.locale.key'
just everywhere else.
but renders following:
translation missing: 'locale.path.to.locale.key' not found
it seems it's not loading current locale (or else 'en', or 'es', or whatever instead of 'locale').
any idea causing this?
thanks
maybe overwrite somewhere down yml file. maybe did many nesting. maybe key has subkeys.
delete locale.yml , place message , see if works.
the problem having happens me every , then, , it's messed in yml file.
Comments
Post a Comment