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

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

Outdate all translations except the canonical one.

Definition at line 227 of file I18NBaseObject.py.

00227                                     :
        """Outdate all translations except the canonical one."""
        translations = self.getNonCanonicalTranslations()
        [translations[lang][0].notifyCanonicalUpdate() for lang in translations.keys()]
        self.invalidateTranslationCache()

    security.declarePrivate('notifyCanonicalUpdate')
    def notifyCanonicalUpdate(self):


Generated by  Doxygen 1.6.0   Back to index