On Mar 21, 2011, at 4:13 PM, Leo Lozes wrote:

> Hello,
>  
> I’m sure this has already been discussed, but I can’t find what I’m doing 
> wrong …
>  
> Hi have a content node “fingerTabItems”, with a collection inside:
>  
>                 00
>                                shortTitle_es
>                                teaserAbstract_es
>                                teaserTitle_es
>                 01
>                                shortTitle_es
>                                teaserAbstract_es
>                                teaserTitle_es
>  
> etc …
>  
> The problem is that in the modelClass, when I try to access the value with 
> getNodeData, I have to specifiy “shortTitle_es”, when I understood that it 
> should work with “shortTitle”. I tried also with NodeDataUtil functions, but 
> every time I try to access the “shortTitle” nodeData, the value I get is null 
> and I have to specify ““shortTitle_es” to retrieve something. The 
> defaultLocale in the site is “es”.

And you are sure your browser is requesting "es" as a locale as well?

Try to configure also fallbackLocale to "es" and make sure that "es" is in the 
list of supported locales by the site <your site>/i18n/locals

HTH,
Jan

>  
> Am I doing something wrong?
>  
> Thank you very much,
>  
> Leo
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to