(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