Re[2]: [SMARTY] Internationalization -- again?!
| From: | Hendy Irawan | Date: | Wed, 31 Jul 2002 06:37:05 +0000 |
| Subject: | Re[2]: [SMARTY] Internationalization -- again?! | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5529@lists.php.net to get a copy of this message | ||
Ben,
> Separate versions are great unless you ever want to modify anything!
No, my idea wasn't like this.
There is only one single *source*. From one source we will have
several different *builds*, based on language (maybe on some other
criteria). It's just like when you develop a software, your source is
only one, but you can build different programs based on several
defines: release or debug, which languages, which libraries to use,
etc.
So you modify the sources, then "compile" language-specific sites.
These sites are very fast and does not have ANY overhead due to
localization. The only overhead is that you have to compile the sites
everytime you want to make a change. But this is only for production
use. For development/debugging, there will be an on-demand compilation
only for files that are changed.
>> A great example of this is in the binarycloud framework (it also uses
>> Smarty!!)
>> http://www.binarycloud.com/
Visit this site. Download the PDF specs. Just skip right into
Localization,... I think it's really great.
Salam hangat,
Hendy Irawan - www.GaulDong.NET
Kantor: (021) 5260467 [SoftVation]
Kos: (021) 5261839 [kamar 3]