i have two languages to allow user to choose/switch: en or fr
i want the url as:
•
xxx.com/en/ --> default language is en
•
xxx.com/en/stock/stockName1/ -> dynamic page in EN language, it is
similar to xxx.com/stock.php?lang=en&stockid=123
•
xxx.com/fr/stock/stockName1/ -> dynamic page in FR language
I do not need cookie.
I do want to split two language folders for all files, except images.
How to make the url route correctly??
I tested the following tutorial, it works fine:
But, the language is not appears in the URL. Anyone can help on these?
Thanks.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment