I'm building an app which is basically a questionnaire; it consists of multiple sections, each having multiple sub-sections, with each of those containing multiple questions.
SECTION ONE
-- Heading One
---- Question 1
---- Question 2
---- Question 3
-- Heading Two
---- Question 1
---- Question 2
---- Question 3
SECTION TWO
-- Heading One
---- Question 1
---- Question 2
---- Question 3
-- Heading Two
---- Question 1
---- Question 2
---- Question 3
The user basically selects a section, then a heading, and then answers the questions.
There are approx. 400 questions in about 10 sections, so it's rather large. On top of this it needs to be localized, so I'm debating whether to build this in an array, or in a database, or using Laravel's localization.
An array would be fast and easily extensible, but not easily up-dateable by the client. I'd also have to hard-code the keys using integers, like auto-increments in mysql.
Storing in a database would be slower, but would allow for the client to more easily update each item. However, the client has said that's not a concern. I'm also thinking database would allow for the use of eloquent relationships. This may also get quite confusing with the tables and relationships...
I have very limited experience with Laravel localization. Would this be a better option? Would I just import() the files when I need them?
I'd appreciate any feedback you can give me on this.
Thanks!