|
Posted by Steve on 10/13/06 16:56
| Totaly wrong
|
| > if($_SESSION['lang'] == 'de')
| > {
| > require_once('lang_de.php')
| > }
| > elseif($_SESSION['lang'] == 'fr')
| > {
| > require_once('lang_fr.php')
| > }
| > else
| > {
| > require_once('lang_en.php')
| > }
| >
|
| No sense
perfect sense.
| He should to use only ONE FILE - no more!
ok, don't just drop a bomb and run. support your oppinion with fact or
experience so that fritz can learn. from my standpoint, the ONE FILE
approach is VERY hard to manage on a scale of
languagesSupported*(amountOfText/2)^2...and i mean that literally in a
mathematic scale of difficulty. PLUS, ONE FILE will become quite large and
when included, consumes an *enormous* amount of memory if supporting very
many languages. using a SINGLE file eliminates BOTH problems. what leads you
to another oppinion?
| and just put in separated data to this file
please support your argument or i shall be forced to give the 'general
populous armed with nukes' warning. ;^)
Navigation:
[Reply to this message]
|