Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Jochem Maas
<[EMAIL PROTECTED]> > To: Jim Lucas <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED]; [php] PHP General List <[EMAIL PROTECTED]> > Sent: Thursday, April 12, 2007 5:11:39 AM > Subject: Re: [PHP] 'lang' file editor ... > > what I'm looking for is somet

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Matt Carlson
aybe this can help you on the parsing front. - Original Message From: Jochem Maas <[EMAIL PROTECTED]> To: Jim Lucas <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED]; [php] PHP General List <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2007 5:11:39 AM Subject: Re: [PHP] 

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Satyam
- Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> Satyam wrote: maybe I should consider moving my 'shit' into gettext format. That was just what I was going to sugest: using gettext format. yeah, but I curerntly have 30 odd files each with upwards of 2000 strings in them,

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Jochem Maas
#x27;translation' > text (e.g. "my %s hurts") and if at all possible the abiltiy to recognise and > not f'up > stuff like: > > $Lang['foo'] = 'my '.$Lang['bar'].' really hurts'; > > and I'd prefer it to

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Jochem Maas
Satyam wrote: >> >> maybe I should consider moving my 'shit' into gettext format. > > That was just what I was going to sugest: using gettext format. yeah, but I curerntly have 30 odd files each with upwards of 2000 strings in them, and it would also require changing the code base to use gettext

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Satyam
maybe I should consider moving my 'shit' into gettext format. That was just what I was going to sugest: using gettext format. Nevertheless, I find php-gettext far more flexible and, since it is in source format, you might want to modifiy the part that reads in the compiled translation file a

Re: [PHP] 'lang' file editor ...

2007-04-12 Thread Jochem Maas
>>> array keys >>> (that include constants, for instance) as well as sprintf markers in >>> the 'translation' >>> text (e.g. "my %s hurts") and if at all possible the abiltiy to >>> recognise and not f'up >>>

Re: [PHP] 'lang' file editor ...

2007-04-11 Thread Jim Lucas
ossible the abiltiy to recognise and not f'up stuff like: $Lang['foo'] = 'my '.$Lang['bar'].' really hurts'; and I'd prefer it to be able to keep file formatting, item ordering and comments as they were when saving back into the file. I can'

Re: [PHP] 'lang' file editor ...

2007-04-11 Thread Richard Lynch
"my %s hurts") and if at all possible the abiltiy to > recognise and not f'up > stuff like: > > $Lang['foo'] = 'my '.$Lang['bar'].' really hurts'; > > and I'd prefer it to be able to keep file formatting, item ordering >

[PHP] 'lang' file editor ...

2007-04-11 Thread Jochem Maas
oo'] = 'my '.$Lang['bar'].' really hurts'; and I'd prefer it to be able to keep file formatting, item ordering and comments as they were when saving back into the file. I can't find anything really useful - the firefox 'php lang file' editor p