nuxeo-localizer
[Top][All Lists]
Advanced

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

[Nuxeo-localizer] get_selected_language


From: Garikoitz Araolaza
Subject: [Nuxeo-localizer] get_selected_language
Date: Fri, 22 Feb 2002 13:18:24 +0100

(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!




reply via email to

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