I think it's a pretty elegant solution. Still, Devil's Advocate: if someone 
wanted to use the Validation component without the Translation one, they'd have 
to implement something with the same interface, which sounds like more effort 
than simply accepting the Translation dependency. Would that really be so bad? 
IIRC, the ACLs require Doctrine DBAL and that's just the way it is. If 
anything, Validation requiring Translation is even less of a problem, because 
they're both Symfony components.

Anyway, short version: +1 


On 31 Mar 2011, at 15:51, Fabien Potencier wrote:

> We currently have a discussion about translation messages. Keys or English 
> sentences? Everybody agree that keys are better, but English messages are 
> best to keep components decoupled. Is there any solution? Read on.
> 
> One of them is the introduction of the Symfony API.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to