[Zope3-Users] Translations with variables embedded in
	HTMLattributes
    Asheesh Laroia 
    asheesh at creativecommons.org
       
    Tue Aug 28 16:01:49 EDT 2007
    
    
  
On Tue, 28 Aug 2007, Doyon, Jean-Francois wrote:
> Seems like you're trying to manipulate a string (a URL?) to do 
> translation within it, in which case you shouldn't do this within your 
> TAL, but instead have a separate piece of logic to do it (Python Script 
> for example).
Translations can have variables in gettext.  All I'm trying to do is try 
to handle a case of this variables substitution that the TAL syntax makes 
hard.  I don't see why that justifies not using the built-in i18n feature 
of Zope's TAL.
-- Asheesh.
--
"We live, in a very kooky time."
 		-- Herb Blashtfalt
    
    
More information about the Zope3-users
mailing list