[kdewebdev-site] Proposed PHP infrastructure

Chris Hornbaker chrishornbaker at earthlink.net
Thu Mar 4 07:36:30 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu March 4 2004 07:33, Andras Mantia wrote:
> On Thursday 04 March 2004 06:34, Chris Hornbaker wrote:
> > Within devel/ you place XML files, which contains essentially what can be
> > contained in an XHTML <div>, plus a key element. The new element is
> > <i18n>. This is used to wrap text that is to be translated. A cron job when
> > run every <set of time> and will 1) replace the top and bottom of the file
> > with PHP includes, 2) replace, for example,
> > <p><i18n>string</i18n></p>
> > with:
> > <p><?php i18n("string"); ?></p>
> 
> I can't comment about the rest, but having a site than can be easily
> translated is a good thing. The KDE guys did something similar with the new
> engine used for the kde.org.
> 

Yep, that's where I got the concepts from. They did awesome work. (Too bad
they used tables for design, though.)

- -- 
Christopher Hornbaker           
Jabber ID: Jilks at jabber.org     Email: chrishornbaker at earthlink.net
Join the Free State Project!    http://www.freestateproject.org
   "Liberty in Our Lifetime"
Was I helpful? Let me know! http://svcs.affero.net/rm.php?r=Jilks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARtycZeGU2azox1wRAvC7AJ9mzVC8+crQ8YV+7HLhLr4ovBCaWACfUX2i
jbkdZvlYvEiOMqPDcQUNKeY=
=q8Rp
-----END PGP SIGNATURE-----


More information about the kdewebdev-site mailing list