Translateable URL |
Hi guys! What is the best way to build translateable URL?
I could use this way (by routing): Code: //english But if I my website is set to english, I still can acces the link from romanian, so i need to check if the URL correspond to lang set, otherwise to show 404. I also want to keep my texts language in one place (languages folder), not to make them in routes.php
Here's what I would do ... http://comp4711.jlparry.com/display/lesson/basic07 (the bit on remapping for localization)
James Parry
Project Lead |
Welcome Guest, Not a member yet? Register Sign In |