Hi,

I am using this router rule to change languages:

Router::connect('/lng/:lang', array('controller' => 'p28n', 'action'
=> 'shuntRequest', array(
        'lang' => '[a-z]{3}'
    )));

What do I have to do, if I want to add a rule like this:

Router::connect('/this-is-a-special-link.html', array('controller' =>
'items', 'action' => 'search'));
And I want to add that the page should use the english language?

As I also want to have this rule:
Router::connect('/this-is-a-special-link-for-french-visitors.html',
array('controller' => 'items', 'action' => 'search'))
Here I want to pass the french language id in order to open the page
in french for the visitor!

Any ideas please?

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to