Sylius: How can I translate the routes?

Created on 22 Sep 2017  路  3Comments  路  Source: Sylius/Sylius

Can I translate routes without override all configuration of yaml ?

I can translate routes using the bundle JMSI18nRoutingBundleJMSI18nRoutingBundle but I want to know if there is another possibility...

For example translate the route:

https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/ShopBundle/Resources/config/routing/checkout.yml#L11

sylius_shop_checkout_address:
    path: /address

I need override in my project from line 11 to line 30 of yml ?

thanks in advance.

PD: I ask here, because in documentation I dont find it

Help Wanted

Most helpful comment

All 3 comments

Unfortunately, I think there is no such feature in Sylius, you need to override the route definition.

Bad news... thanks for reply @Zales0123 !

Was this page helpful?
0 / 5 - 0 ratings