public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexey Borzov <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Todo for 'portal', programmers perspective
Date: Thu, 15 Jan 2004 19:56:47 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
Hi!
Andreas Grabmüller wrote:
> However. I personally like template systems. But how do you want to handle the translations with it? I don't think having different templates for different languages is a good idea as this would destroy all benefits of templates (we would have to manage the same layout multiple times).
The one I originally proposed allows callback functions to be defined.
I.e. instead of
<a href="..."><?php translate('Download'); ?></a>
you write
<a href="...">func_translate(Download)</a>
within a template, this is quite viewable and editable and the string
translations can still be kept in a central place.
view thread (12+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Todo for 'portal', programmers perspective
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox