#NEWLINE# def contribute_to_class( self , cls , name ) : #NEWLINE# #INDENT# self . model = cls #NEWLINE# self . name = name #NEWLINE# setattr ( cls , self . name , TranslationDescriptor ( self , self . translated_field , self . language ) ) #NEWLINE# cls . _meta . add_field ( self ) #NEWLINE# cls . _meta . virtual_fields . append ( self )