On 11 Jun 2007, at 09:23, Oriol Mercadé wrote:
> My routing yml is something like
>
> es_homepage:
>   url: /es/
>   param: { module: home, action: index, sf_culture: es }
>
> en_homepage:
>   url: /en/
>   param: { module: home, action: index, sf_culture: en }
>
> homepage:
>   url: /:sf_culture/
>   requirements: { sf_culture: (?:es|en) }
>   param: { module: home, action: index }

If I remember an older posting correctly...  I think you need to add  
the 'sf_culture' parameter to the url itself instead of the  
parameters.  (So I think your @homepage route should work if you  
comment out the other ones?)


Alexander


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
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