On Thu, Oct 19, 2000 at 05:18:14PM -0500, Ken Jones wrote:
> Hampton Maxwell wrote:
> > 
> > On Thu, Oct 19, 2000 at 03:11:26PM -0500, Ken Jones wrote:
> > > Daniel Augusto Fernandes wrote:
> > > >
> > > > Well, here is my pt-BR template for qmailadmin:
> > > > http://www.gcsnet.com.br/~daftm/qmailadmin-0.39.pt-BR.zip
> > > >
> > > > Any corrections please tell me!
> > >
> > > Do you want to create new .gif's in pt-BR too?
> > >
> > > Ken Jones
> > Just a thought, maybe you should consider just using one html template for all the 
>languages and substitute the appropriate translation into the html, like you do with 
>the rest of the dynamic code.  Use some flag like ##popacounts## or the like.  This 
>is the way that I've seen a lot of other programs do it, and I think it makes sense 
>because:
> > You standardize on one set of html.  If the html changes, the only thing the 
>maintainer of the translation needs to do is add an entry if any new items have been 
>added to the menu, he doesn't need to worry if there's a big layout change like 0.26 
>to 0.32 (the QNX look).  This keeps the distribution size a bit smaller.  It also 
>makes it easier to create a translation; you grab the english list and right there 
>are all the phrases you need to translate.
> 
> That's a good idea. 
> We could also make blank button gifs, with text written over the blank
> button.
> 
> Does anyone know how to code html to display a blank gif with text drawn
> over it?
> 
> Ken

I believe the GD library can generate images like this on the fly.  I don't know how 
transparent gif's are handled but that might be an option as well.

Hampton

Reply via email to