Re: Problem in page view and language switching

2014-05-19 Thread Lorenzo Milesi
> In my Layout/default.ctp I do something like: > $url = > join('/',array($this->params['controller'],$this->params['action'],join('/',$this->params['pass']))); > echo $this->Html->link('GR','/ell/'.$url). ' | ' . > $this->Html->link('EN','/eng/' . $url) ; Thank you very much for your suggestion,

Re: Problem in page view and language switching

2014-05-13 Thread HK
In my Layout/default.ctp I do something like: $url = > join('/',array($this->params['controller'],$this->params['action'],join('/',$this->params['pass']))); > echo $this->Html->link('GR','/ell/'.$url). ' | ' . > $this->Html->link('EN','/eng/' . $url) ; > and seems to work. I hade the same pr

Problem in page view and language switching

2014-05-13 Thread Lorenzo Milesi
Hi. I localized my app using [1] and [2] and works fine, but I'm having problem with the language switcher and page views. In my top menu I have the following items: echo $this->Html->link(__('Knowledge Base'), array('controller' => 'pages', 'action' => 'view','knowledge-base', 'admin' => false))