symfony-cmf/SeoBundle — pull request #175 by ElectricMaxxx (2014-07-11 20:55:47+00:00)
Title: [WIP] implementing alternate languages for content documents

| Q | A
| ------------- | ---
| Bug fix? | [no]
| New feature? | [yes]
| BC breaks? | [no]
| Deprecations? | [no]
| Tests pass? | [no]
| Fixed tickets | [#166]
| License | MIT
| Doc PR | not yet

I started to implement that feature. Thought we should take care for the existence of the `ManagerRegistry` and when it exists the `SeoPresentation::setAlternateLocales()` method will figure out urls (by `UrlGenerator` -> got an issue here right now) and pass that information to sonatas `PageService`. By doing it that way the user just needs to add the right TwigHelper `{{ sonata_seo_lang_alternates() }}` to see the result. Same procedure as all other metadata comes into the template.
As described above i still have an issue with the router, that does not like my object i am passing and i need to write some tests for that.