Re: i18n problem

2014-10-22 Thread Lucky1968
Hi, Here's an example: I have an element which generates a navigation menu. This is the code in the element: App::import('Model', array('Shop.ShopCategory')); $menuObj = new ShopCategory(); $nav_top = $menuObj->nav_top(''); ShopCategory has a translated 'name'-field which is also the models dis

Re: i18n problem

2014-10-21 Thread Luc Bernard
Hi, I'm using 2.3.10 > On 21 Oct 2014, at 21:11, José Lorenzo wrote: > > First time I see this. What Cake version are you using? > >> On Monday, October 20, 2014 8:56:39 AM UTC+2, Lucky1968 wrote: >> Hi, >> >> Is there anyone who can help me with this? >> >> Thanx. >> >>> On Wednesday, Oct

Re: i18n problem

2014-10-21 Thread José Lorenzo
First time I see this. What Cake version are you using? On Monday, October 20, 2014 8:56:39 AM UTC+2, Lucky1968 wrote: > > Hi, > > Is there anyone who can help me with this? > > Thanx. > > On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote: >> >> Hi, >> >> I'm using i18n in my applica

Re: i18n problem

2014-10-19 Thread Lucky1968
Hi, Is there anyone who can help me with this? Thanx. On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote: > > Hi, > > I'm using i18n in my application and it seems that in certain views I can > use $array['translated_field'] as in other views I need to use > $array[0]['Model__i18n

Re: i18n problem

2014-10-01 Thread Lucky1968
UPDATE: I also have to use $array[0]['Model__i18n_translated_field'] in normal (not forms) view files. On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote: > > Hi, > > I'm using i18n in my application and it seems that in certain views I can > use $array['translated_field'] as in oth