Re: htdocs and gettext

2006-01-30 Thread Neil Williams
On Monday 23 January 2006 10:57 pm, Derek Atkins wrote: Neil Williams [EMAIL PROTECTED] writes: To protect the .svn directories below www/, this snippet should be added to the virtual host config: Directory /opt/svn/htdocs/www/*/.svn Order Deny,Allow

Re: htdocs and gettext

2006-01-28 Thread Neil Williams
On Tuesday 24 January 2006 4:19 am, Josh Sled wrote: It's still useful, even though our content isn't as dynamic as a database-driven site. e.g. the News items would be a royal PITA to handle via SHTML or baking because the resulting index page would be a nightmare to edit. Why would it

htdocs and gettext

2006-01-23 Thread Neil Williams
OK. I've got gettext working with PHP to translate a single website using as many PO files as we can create. It means yet more restructuring of the htdocs and running some scripts to create and update the PO files, much as we do with 'make pot' in trunk. I think svn should simply be a copy of

Re: htdocs and gettext

2006-01-23 Thread Josh Sled
On Mon, 2006-01-23 at 16:33 +, Neil Williams wrote: OK. I've got gettext working with PHP to translate a single website using as many PO files as we can create. Awesome. It means yet more restructuring of the htdocs and running some scripts to create and update the PO files, much as we

Re: htdocs and gettext

2006-01-23 Thread Neil Williams
On Monday 23 January 2006 5:04 pm, Josh Sled wrote: On Mon, 2006-01-23 at 16:33 +, Neil Williams wrote: OK. I've got gettext working with PHP to translate a single website using as many PO files as we can create. Awesome. :-) It's not ready to commit as a demo yet, but it does work

Re: htdocs and gettext

2006-01-23 Thread Josh Sled
On Mon, 2006-01-23 at 17:45 +, Neil Williams wrote: Umm, no. If anything, PHP becomes a little more important as although the TRANSLATIONS are handled via PO, the CONTENT strings now need to be wrapped in php functions. Oh, that's too bad. I'd rather we were less coupled to PHP. I

Re: htdocs and gettext

2006-01-23 Thread Neil Williams
On Monday 23 January 2006 5:45 pm, Neil Williams wrote: On Monday 23 January 2006 5:04 pm, Josh Sled wrote: On Mon, 2006-01-23 at 16:33 +, Neil Williams wrote: OK. I've got gettext working with PHP to translate a single website using as many PO files as we can create. Awesome.

Re: htdocs and gettext

2006-01-23 Thread Neil Williams
On Monday 23 January 2006 6:16 pm, Josh Sled wrote: On Mon, 2006-01-23 at 17:45 +, Neil Williams wrote: Umm, no. If anything, PHP becomes a little more important as although the TRANSLATIONS are handled via PO, the CONTENT strings now need to be wrapped in php functions. Oh, that's

Re: htdocs and gettext

2006-01-23 Thread Derek Atkins
Neil Williams [EMAIL PROTECTED] writes: To protect the .svn directories below www/, this snippet should be added to the virtual host config: Directory /opt/svn/htdocs/www/*/.svn Order Deny,Allow deny from all /Directory Why not just use a

Re: htdocs and gettext

2006-01-23 Thread Josh Sled
On Mon, 2006-01-23 at 18:50 +, Neil Williams wrote: It's still useful, even though our content isn't as dynamic as a database-driven site. e.g. the News items would be a royal PITA to handle via SHTML or baking because the resulting index page would be a nightmare to edit. Why would it