Forum: Rails I18n hash of all translations

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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

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?
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

2010/11/24 Benjamin Moses Lieb <>
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 <>
This topic is locked and can not be replied to.