09-12-2017, 07:49 PM
The way I formerly did it was this:
switch ($lang) {
case 0:
include_once 'lang/spanish.php';]
break;
case 1:
include_once 'lang/english.php';
break;
This way it didn't require any difference in coding as $lang[23] was the same string, in both files. Any way I can use my scripts to do this? The site I'm designing won't use much of the US interface.
switch ($lang) {
case 0:
include_once 'lang/spanish.php';]
break;
case 1:
include_once 'lang/english.php';
break;
This way it didn't require any difference in coding as $lang[23] was the same string, in both files. Any way I can use my scripts to do this? The site I'm designing won't use much of the US interface.