I build a multilingual site which is translated with included files. All looks good so far.
Now i'm busy with a script to give users from other countries an easy way to translate the text.
First i started with this:
$var1 = "text bla";
$var2 = "...
What's better for PHP edit the text-file like the example before or create one which looks like this:
$var1;text bla
$var2;more text
...
this example is eaiser to handle with string and file functions.
But i have to read the whole inc.-file each time into an array