But in addition, I want it to be multi-language so I wonder if there is a way to iterate and search over a language file like messages.en-US, messages.fr-FR, etc.? If yes, how? If no, how should I proceed to do what I want?
section1.chapter1 = Chapter 1
section1.chapter1.paragraph1 = This is a paragraph.
section1.chapter1.paragraph2 = This is a paragraph.
section1.chapter2 = Chapter 2
…
to display a full help section.
And I didn’t find either a search by value or regexp to retrieve keys of sections to display in a result set.
I would store the content in a database instead of the language files. So you can add new content, without to rebuild the application. It makes it also easier to query your data.