<[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
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]
- 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,
I just played around with token_get_all() and token_name() and by the looks of
the
output it's going to be quite easy to create something that can rewrite the
contents of a file and
or augment it ...
the only really tricky thing that I can't get my head round right away is
handling the following
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
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
what I'm looking for is something that will make it possible for an end user
to merge [the contents] existing language files (that contain the items for the
same language)
*and* perform translations between languages in a visual/easy way (i.e. without
opening
a text editor) but end up with lang f
Richard Lynch wrote:
Seems to me you'd be better off just running the PHP code and dumping
the arrays out with var_dump or print_r "like" function to generate
your new language files...
Otherwise, you're writing a fairly big chunk of the PHP parser, which
is already in PHP, so you re-invent the
Seems to me you'd be better off just running the PHP code and dumping
the arrays out with var_dump or print_r "like" function to generate
your new language files...
Otherwise, you're writing a fairly big chunk of the PHP parser, which
is already in PHP, so you re-invent the wheel...
On Wed, April
9 matches
Mail list logo