nuxeo-localizer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nuxeo-localizer] get_selected_language


From: Juan David Ibáñez Palomar
Subject: Re: [Nuxeo-localizer] get_selected_language
Date: Fri, 22 Feb 2002 15:15:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214

Are you sure you used 0.7.0??

What you describe only works with 0.8.0, perhaps you were using
a CVS version.




Garikoitz Araolaza wrote:

(Working with Localizer 0.7.1 )

Is get_selected_language(property='body') still working?

LocalContent objects simply return the default language version when we don't have the one requested by the user.

So, I'm using it to detect if a given LocalContent object is in the users SELECTED_LANGUAGE, just to say sorry:

<dtml-if "get_selected_language(property='body')!=SELECTED_LANGUAGE">
<dtml-var "gettext('Sorry, but we don't have this page in your language')">
</dtml-if>

I'm having problems with one site since I updated from 0.7 to 0.7.1 this morning in my production server...

I get:

get_selected_language() got an unexpected keyword argument 'property'


Thanks again :-)

Gari

_________________________________________________________
Aurki Euskara hutsezko bilatzailea
http://www.aurki.com
Zure laguntza behar dugu. Egin zaitez editore!


_______________________________________________
Nuxeo-localizer mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer



--
J. David Ib??ez, Nuxeo.com
Debian user (http://www.debian.org)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]