The default I18n backend is I18n::Backend::Simple , which does not provide translations for you. ( I18.backend.translations is a protected method.)
This is usually not a good idea, but if you really need this information and cannot parse the file, you can extend the backend class.
class I18n::Backend::Simple def translations_store translations end end
Then you can call I18n.backend.translations_store to get the parsed translations. You probably shouldn't rely on this as a long-term strategy, but now you need the information you need.
My god
source share