I'm trying to switch from yaml translation files to database
translations.
I thought I would just access >> I18n.backend.send(:translations) from
a rake task and insert them all, but from the rails console, that is
producing { }. Why do I get no translations?
on 2010-11-24 18:23
on 2010-11-24 18:38
Translations, are not loaded by default. Use I18n.backend.send(:init_translations) or call I18n.translate to load them. 2010/11/24 Benjamin Moses Lieb <red@pixelearth.net>
on 2010-11-24 18:43
I freaking love you. This has taken way too long to figure out. Thank you Thank you. : ) On Nov 24, 12:37pm, Krzysztof Knapik <krzysztof.kna...@gmail.com>
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.