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

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

Return a dict of {lang : [object, wf_state]}

Definition at line 141 of file I18NBaseObject.py.

00141                                          :
        """Return a dict of {lang : [object, wf_state]}"""
        translations = self.getTranslations()
        non_canonical = {}
        for lang in translations.keys():
            if not translations[lang][0].isCanonical():
                non_canonical[lang] = translations[lang]
        return non_canonical

    security.declareProtected(View, 'isCanonical')
    def isCanonical(self):

Generated by  Doxygen 1.6.0   Back to index