This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Troubles with languages

Discussion relating to version 1.3.x and 1.4.x

Troubles with languages

by frwrk » Sat May 16, 2015 4:06 am

Hi everyone.
I'm new to Symfony trying to add another language version to site.
I was trying to add language version in .htaccess and locales.
I've added this strings to routing.yml:
Code: Select all
contacts:
  param: { module: homepage, action: contacts }
  prefix_path:    /:sf_culture/contacts

But everytime I got 404 when I go to the /en/contacts.
I need to move english version to the /en and another language keep on /
What am I doing wrong and how can I add language version to the site correctly?
frwrk
Junior Member
 
Posts: 1
Joined: Sat May 16, 2015 3:59 am