On Fri, 18 Jan 2008, Thomas Koch wrote:

> I think, that actually two different function names are needed.
> First you need a function which is called on every visualization of the 
> template, e.g. every time the user sees it.

That's what you get when caching is not enabled in the prototype.

> The second is a static block, which calls the translation function only once 
> on compile time for texts which do never change, e.g. "Enter password here:". 
> This block makes use of the template feature of static blocks, which are 
> called only on compile time.

And that's what you get when caching is enabled. As this is already 
handled, we don't need two different functions here.

> An optional argument to tell the language may be needed on some special pages:
> 
> {tr "Please choose your language" language "en"}
> {tr "Please choose your language" language "de"}
> {tr "Please choose your language" language "fr"}

What's the point of this? If you know you'd already want it in another 
language you can simply use it there...

> And then there's still issue 12161 about variables in static texts. As you've 
> marked it as related to this topic, it may be considered.

I just closed that, as you can already do so.

regards,
-- 
Derick Rethans
eZ components Product Manager
eZ systems | http://ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to