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 <[email protected]>

> 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?
>
> --
> You received this message because you are subscribed to the Google Groups
> "rails-i18n" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rails-i18n%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rails-i18n?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en.

Reply via email to