Paul Hastings wrote:
>> (I am working on a GNU gettext implementation so you can use human
>> readable text in your application and use the GNU toolset for working
>> with portable objects, but it won't be finished before new year and
>> unfortunately CFML doesn't allow the clean syntax PHP and C allow.)
>
> uh, how does gettext work? it does a dictionary replace of text & squirts
> the html out at the user or?

Pretty much the same as ResourceBundles (you can convert a Java
ResourceBundle into a gettext Portable Object and vice versa). An
excellent introduction to gettext with PHP:
http://www.onlamp.com/pub/a/php/2002/06/13/php.html

The reason to try to use gettext instead of ResourceBundles in
this case is that the code will have to coexist with PHP and Perl
code in a shared repository (probably GForge). I want to leverage
as much of the existing infrastructure as possible, and the
easiest way appears to be to write a gettext.cfc which does
pretty much the same as your ResourceBundle.cfc only with a
different input format.

Jochem

--
When you don't want to be surprised by the revolution
organize one yourself
     - Loesje
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to