Hi

I use i18n in symfony 1.4 My default culture is pl (set in
settings.yml). Also I configured this in routing:

homepage:
  url:   /:sf_culture/
  param: { module: home, action: index, sf_culture: pl }

But anyone knows hot to make something like this:

if culture is pl, do not add it to url (route), like this 
http://example.com/offer

if culture is other than pl, ie en, add it to url (route), like this
http://example.com/en/offer

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to