Hi,
On 4 juin, 07:57, simo <[EMAIL PROTECTED]> wrote:
> depending on the sf_culture, I'd like to have
>
> myapp.com/user/myname
> myapp.com/utilisateur/myname
>
> I haven't seen this on the doc, or maybe I 've just missed it. Many
> thanks.
>
> simo
In 1.0 you can try this tricky routing rules:
en_user:
url: /user/:user
param: { module: test, action: user, sf_culture: 'en' }
fr_user:
url: /utilisateur/:user
param: { module: test, action: user, sf_culture: 'fr' }
Well... it's perhaps a bad solution, but seem work.
++
Gilles.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---