Joined June 2013
·

Marvin Roger

Paris, France
·
·
·

Good point, we are on the same wavelength! However, the goal of this protip is to provide a way to allow language related routes, as some people want it. :)

Thanks !

The problem with your approach is you lost the translated route for each language ("/en/home" -> "/fr/home" and not "/fr/accueil"). I will look into it.

Actually yes, it was a typo. Thanks to you, I fixed them all and it should be alright now.
Pleased that you managed to get it working! :)

Thanks again.

Thanks for this. I made a few improvements so that URL in views are prefixed.
@romainsauvaire, take a look : https://coderwall.com/p/czumyq

Thanks, this is very useful !

Achievements
262 Karma
28,613 Total ProTip Views
Interests & Skills