Re: Templates & Languages

From: Date: Tue, 28 Sep 2004 14:46:10 +0000
Subject: Re: Templates & Languages
References: 1 2  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-340@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vincent Gevers wrote: | For some reason I'm not sure about adding all html in the templates. | | If we want the pages to be translated we should allow the doc teams to | create/edit them. This means they can also edit the html code or even break | the site. [...] | Comments welcome Well, in my experience, it's often not as simple as replacing pieces of text, when translating sites. Often, different languages have different requirements (ie, French is almost always longer than the equivalent English text. Some languages read from right to left, etc). Markup is different in different languages, as well: paragraphs, capitalization, breaks, indentation, quoting, are all performed differently. Admittedly, your "header" example shows how "users" could mess up a whole language. I think that my DocWeb_Language class, without the partner DocWeb_Template class is under-powered. Perhaps we could ignore the "shared" sub directory for all languages but the default? S -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBWXkyWppknrQMxQIRAtKLAKCToaLNjLC6QB+8rk1SOpYBOkAqugCdG0ON Yx0Wj4pvcz4RqTqS6MHgDVg= =dVj/ -----END PGP SIGNATURE-----

« previous php.doc.web (#340) next »