I'm using PHP.
I've a system that I need to translate in french, italian, spanish, ...
So I came with two solutions.
Solution 1: All the language strings are store in a DB to allow easy editing after for the administrator. So on each page I will need to call this table in order to get the correct strings.
Solution 2: Same like the first one except that I will generate after each change a Json file. This Json file will be call on each page to print the right strings.
Witch of my solution is the best pleas ?
Perhaps, another solution exists for that ?
Thanks.