I want to create translation overrides for customers in my app. I want a list of locale section's key to render for a form.
In Rails I18n, how do I get all keys for a given locale file?
en:
foo:
bar:
some_term: "a translation"
some_other_term: "another translation"
baz:
bizz: "hello"
Results would look something like
[
"foo[bar][some_term]",
"foo[bar][some_other_term]",
"baz[bizz]"
]