|
Posted by .:[ ikciu ]:. on 10/13/06 17:53
Hmm Steve <no.one@example.com> wrote:
> 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
nope you have only ONE file if you want to make changes you will do it in
only one file not in X
> 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?
just make template for example
<div id="data">
<h1>{title}</h1>
<p>{body}</p>
</div>
1. in session you will store current language
2. when you will show data just get adequate text (language) - for session
language variable from db or xml file
3. put it into your template
4. have fun
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
Navigation:
[Reply to this message]
|