Logo Search packages:      
Sourcecode: zope-linguaplone version File versions

def zope-linguaplone-0.7::I18NBaseObject::I18NBaseObject::isTranslation (   self  ) 

Tells whether this object is used in a i18n context

Definition at line 55 of file I18NBaseObject.py.

00055                            :
        """Tells whether this object is used in a i18n context"""
        return self.getReferenceImpl(RELATIONSHIP) or self.getBackReferenceImpl(RELATIONSHIP) and self.getLanguage() or False

    security.declareProtected(AddPortalContent, 'addTranslation')
    def addTranslation(self, language, *args, **kwargs):


Generated by  Doxygen 1.6.0   Back to index