symfony-cmf/Routing — pull request #24 by lsmith77 (2012-10-12 11:09:17+00:00)
Title: added validateRouteLocale

@crell @lolautruche what do you think about this?

with this change the generate method will throw and exception if the route instance does not support loading the given content in the specified locale. the job of determining this is the RouteRepository implementation. afaik Drupal isnt using this yet, but you might still want to think about this. we might also think about adding a LocaleAwareInterface so that we only do this method call if the route implements that interface.