I\'m guessing that rails stores all the parsed translations yml files in a sort of array/hash. Is there a way to access this?
For example, if I\'ve a file:
If you're doing this in a rake task, remember to include the enviroment, or otherwise it will not load your own locales which lives under config/locales/
require "./config/environment.rb" # Do not forget this
namespace :i18n do
desc "Import I18n to I18n_active_record"
task :setup do
I18n.t(:foo)
translations = I18n.backend.send(:translations)
end
end