Hello,
When creating a template in Mako, I would need to write things like : ${_('Hello, %(fname)s %(lname)s') % {'fname':'John','lname':'Doe'}}
I keep getting SyntaxException: (SyntaxError) unexpected EOF while parsing when writing that. Is there wny way to do the same ?
${_('Hello, %s %s') % ('John', 'Doe')}
works, but it does not allow to change the order of the replacements when changing language, if needed.
Thanks.