Forum: Rails I18n hash of all translations

8af95d9d4020800dfc5d1c8ddf0b2798?d=identicon&s=25 Benjamin Moses Lieb (Guest)
on 2010-11-24 18:23
(Received via mailing list)
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?
390e714e320bd505fb5e9f762870ba5e?d=identicon&s=25 Krzysztof Knapik (Guest)
on 2010-11-24 18:38
(Received via mailing list)
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>
8af95d9d4020800dfc5d1c8ddf0b2798?d=identicon&s=25 Benjamin Moses Lieb (Guest)
on 2010-11-24 18:43
(Received via mailing list)
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>
This topic is locked and can not be replied to.