Tell me please. Implemented multilanguage for the site, but you need to remove the prefix / en in the URL for the default language. How to do it? For example, there are urls:

site.com/en/login -> site.com/login(убераеться _locale), site.com/fr/login -> site.com/fr/login(остаеться _locale) 

    1 answer 1

    I found a solution that suits me. I need to install the JMSI18nRoutingBundle bundle

    Here is a tutorial on how to configure configuring a bundle. ( Sylak on video ) from the 6th minute

     jms_i18n_routing: default_locale: "%locale%" locales: [ru, ua] strategy: prefix_except_default (тут важно поставить именно такой параметр)