Hi,
im using i18n and i can switch language wihtout problems. However, the
links in the URL bar remain the same, for example site.com/controller/
action. Is it possible to "patch" THTML helper somehow so i can
automatically change links to current_lang/controller/action,
for example when i write echo $html->url('/controller/action') to get
link to site.com/en/controller/action (if en is selected as current
language setting).
at the moment i have
Router::connect('en/:controller/:action/*', array('controller' =>
'pages', 'action' => 'display', 'lang' => 'en'));
maybe i need to override htmlhelper's url and link methods. Any ideas
or suggestions?
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---